summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 15:43:59 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 15:43:59 -0500
commit3a347442a45a0631beade76b2870e6c823c2304c (patch)
tree3c9bc3285f66032a43f2559736dc81d281ab82bc /kimagemapeditor
parentbd6cf65a81ec1ece59e191497f8796405babd15b (diff)
downloadtdewebdev-3a347442a45a0631beade76b2870e6c823c2304c.tar.gz
tdewebdev-3a347442a45a0631beade76b2870e6c823c2304c.zip
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
Diffstat (limited to 'kimagemapeditor')
-rw-r--r--kimagemapeditor/kimagemapeditor.cpp18
-rw-r--r--kimagemapeditor/kimedialogs.cpp2
2 files changed, 10 insertions, 10 deletions
diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp
index 231bf8ed..804e67ae 100644
--- a/kimagemapeditor/kimagemapeditor.cpp
+++ b/kimagemapeditor/kimagemapeditor.cpp
@@ -432,7 +432,7 @@ void KImageMapEditor::setupActions()
{
// File Open
TDEAction *temp=KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
- TQMimeSourceFactory::defaultFactory()->setPixmap( "openimage", SmallIcon("fileopen") );
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "openimage", SmallIcon("document-open") );
temp->setWhatsThis(i18n("<h3>Open File</h3>Click this to <em>open</em> a new picture or HTML file."));
temp->setToolTip(i18n("Open new picture or HTML file"));
@@ -441,7 +441,7 @@ void KImageMapEditor::setupActions()
actionCollection());
// File Save
temp =KStdAction::save(this, TQT_SLOT(fileSave()), actionCollection());
- TQMimeSourceFactory::defaultFactory()->setPixmap( "saveimage", SmallIcon("filesave") );
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "saveimage", SmallIcon("document-save") );
temp->setWhatsThis(i18n("<h3>Save File</h3>Click this to <em>save</em> the changes to the HTML file."));
temp->setToolTip(i18n("Save HTML file"));
@@ -451,36 +451,36 @@ void KImageMapEditor::setupActions()
// File Close
temp=KStdAction::close(this, TQT_SLOT(fileClose()), actionCollection());
- TQMimeSourceFactory::defaultFactory()->setPixmap( "closeimage", SmallIcon("fileclose") );
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "closeimage", SmallIcon("window-close") );
temp->setWhatsThis(i18n("<h3>Close File</h3>Click this to <em>close</em> the currently open HTML file."));
temp->setToolTip(i18n("Close HTML file"));
// Edit Copy
copyAction=KStdAction::copy(this, TQT_SLOT(slotCopy()), actionCollection());
- TQMimeSourceFactory::defaultFactory()->setPixmap( "editcopyimage", SmallIcon("editcopy") );
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "editcopyimage", SmallIcon("edit-copy") );
copyAction->setWhatsThis(i18n("<h3>Copy</h3>"
"Click this to <em>copy</em> the selected area."));
copyAction->setEnabled(false);
// Edit Cut
cutAction=KStdAction::cut(this, TQT_SLOT(slotCut()), actionCollection());
- TQMimeSourceFactory::defaultFactory()->setPixmap( "editcutimage", SmallIcon("editcut") );
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "editcutimage", SmallIcon("edit-cut") );
cutAction->setWhatsThis(i18n("<h3>Cut</h3>"
"Click this to <em>cut</em> the selected area."));
cutAction->setEnabled(false);
// Edit Paste
pasteAction=KStdAction::paste(this, TQT_SLOT(slotPaste()), actionCollection());
- TQMimeSourceFactory::defaultFactory()->setPixmap( "editpasteimage", SmallIcon("editpaste") );
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "editpasteimage", SmallIcon("edit-paste") );
pasteAction->setWhatsThis(i18n("<h3>Paste</h3>"
"Click this to <em>paste</em> the copied area."));
pasteAction->setEnabled(false);
// Edit Delete
- deleteAction=new TDEAction(i18n("&Delete"), "editdelete",
+ deleteAction=new TDEAction(i18n("&Delete"), "edit-delete",
Key_Delete,this,TQT_SLOT (slotDelete()),actionCollection(), "edit_delete");
- TQMimeSourceFactory::defaultFactory()->setPixmap( "editdeleteimage", SmallIcon("editdelete") );
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "editdeleteimage", SmallIcon("edit-delete") );
deleteAction->setWhatsThis(i18n("<h3>Delete</h3>"
"Click this to <em>delete</em> the selected area."));
deleteAction->setEnabled(false);
@@ -2584,7 +2584,7 @@ void KImageMapEditor::mapDelete()
int result = KMessageBox::warningContinueCancel(widget(),
i18n("<qt>Are you sure you want to delete the map <i>%1</i>?"
" <br><b>There is no way to undo this.</b></qt>").arg(selectedMap),
- i18n("Delete Map?"),KGuiItem(i18n("&Delete"),"editdelete"));
+ i18n("Delete Map?"),KGuiItem(i18n("&Delete"),"edit-delete"));
if (result == KMessageBox::No)
return;
diff --git a/kimagemapeditor/kimedialogs.cpp b/kimagemapeditor/kimedialogs.cpp
index d541b142..2b7b92bb 100644
--- a/kimagemapeditor/kimedialogs.cpp
+++ b/kimagemapeditor/kimedialogs.cpp
@@ -328,7 +328,7 @@ TQWidget* AreaDialog::createGeneralPage()
TQHBox *hbox= new TQHBox(page);
hrefEdit = new TQLineEdit(area->attribute("href"),hbox);
TQPushButton *btn = new TQPushButton("",hbox);
- btn->setPixmap(SmallIcon("fileopen"));
+ btn->setPixmap(SmallIcon("document-open"));
connect( btn, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotChooseHref()));
hbox->setMinimumHeight(hbox->height());