From 2166880f2ba4e37d70d75ee5f9feb4ad6b2d5f20 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 12:51:18 -0500 Subject: Bring undo, redo, find, and revert icons into XDG compliance --- cervisia/logdlg.cpp | 2 +- kbabel/commonui/finddialog.cpp | 2 +- kbugbuster/gui/kbbmainwindow.cpp | 2 +- tdecachegrind/tdecachegrind/callgraphview.cpp | 2 +- tdecachegrind/tdecachegrind/callitem.cpp | 2 +- tdecachegrind/tdecachegrind/instritem.cpp | 2 +- tdecachegrind/tdecachegrind/sourceitem.cpp | 2 +- tdecachegrind/tdecachegrind/toplevel.cpp | 4 ++-- umbrello/umbrello/listpopupmenu.cpp | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cervisia/logdlg.cpp b/cervisia/logdlg.cpp index e924672b..e446b587 100644 --- a/cervisia/logdlg.cpp +++ b/cervisia/logdlg.cpp @@ -62,7 +62,7 @@ LogDialog::LogDialog(TDEConfig& cfg, TQWidget *parent, const char *name) Ok | Apply | Close | Help | User1 | User2 | User3, Close, true, KGuiItem(i18n("&Annotate")), KGuiItem(i18n("&Diff"), "vcs_diff"), - KGuiItem(i18n("&Find..."), "find")) + KGuiItem(i18n("&Find..."), "edit-find")) , cvsService(0) , partConfig(cfg) { diff --git a/kbabel/commonui/finddialog.cpp b/kbabel/commonui/finddialog.cpp index b58cf7bf..34b63685 100644 --- a/kbabel/commonui/finddialog.cpp +++ b/kbabel/commonui/finddialog.cpp @@ -99,7 +99,7 @@ FindDialog::FindDialog(bool forReplace, TQWidget* parent) } else { setCaption(i18n("Find")); - setButtonOK(KGuiItem(i18n("&Find"),"find")); + setButtonOK(KGuiItem(i18n("&Find"),"edit-find")); _replaceLabel=0; _replaceCombo=0; diff --git a/kbugbuster/gui/kbbmainwindow.cpp b/kbugbuster/gui/kbbmainwindow.cpp index 8005d12f..5f7fb3a7 100644 --- a/kbugbuster/gui/kbbmainwindow.cpp +++ b/kbugbuster/gui/kbbmainwindow.cpp @@ -174,7 +174,7 @@ void KBBMainWindow::initActions() TQT_SLOT( searchBugNumber() ), actionCollection(), "search_bugnumber" ); // For now "Description" searches by title. Maybe later we can have a // full-text search interfacing bugs.trinitydesktop.org and rename the current one to "By Title". - new TDEAction( i18n("Search by &Description...") ,"find", CTRL+TQt::Key_D, TQT_TQOBJECT(this), + new TDEAction( i18n("Search by &Description...") ,"edit-find", CTRL+TQt::Key_D, TQT_TQOBJECT(this), TQT_SLOT( searchDescription() ), actionCollection(), "search_description" ); // new TDEAction( i18n("&Merge"), "view_remove", CTRL+TQt::Key_M, TQT_TQOBJECT(m_mainWidget), diff --git a/tdecachegrind/tdecachegrind/callgraphview.cpp b/tdecachegrind/tdecachegrind/callgraphview.cpp index 9f1df421..9a117e5f 100644 --- a/tdecachegrind/tdecachegrind/callgraphview.cpp +++ b/tdecachegrind/tdecachegrind/callgraphview.cpp @@ -1148,7 +1148,7 @@ CanvasEdgeLabel::CanvasEdgeLabel(CallGraphView* v, CanvasEdge* ce, setPixmap(0, percentagePixmap(25,10,(int)(inclP+.5), TQt::blue, true)); if (e->call() && (e->call()->isRecursion() || e->call()->inCycle())) { - TQString icon = "undo"; + TQString icon = "edit-undo"; TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader(); TQPixmap p= loader->loadIcon(icon, TDEIcon::Small, 0, TDEIcon::DefaultState, 0, true); diff --git a/tdecachegrind/tdecachegrind/callitem.cpp b/tdecachegrind/tdecachegrind/callitem.cpp index 77bbc885..d40f1feb 100644 --- a/tdecachegrind/tdecachegrind/callitem.cpp +++ b/tdecachegrind/tdecachegrind/callitem.cpp @@ -145,7 +145,7 @@ void CallItem::updateCost() TQPixmap p; if (sameCycle && !selectedIsCycle && !shownIsCycle) { - TQString icon = "undo"; + TQString icon = "edit-undo"; TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader(); p= loader->loadIcon(icon, TDEIcon::Small, 0, TDEIcon::DefaultState, 0, true); diff --git a/tdecachegrind/tdecachegrind/instritem.cpp b/tdecachegrind/tdecachegrind/instritem.cpp index 2b7258d7..b07c6655 100644 --- a/tdecachegrind/tdecachegrind/instritem.cpp +++ b/tdecachegrind/tdecachegrind/instritem.cpp @@ -177,7 +177,7 @@ void InstrItem::updateCost() TQString str; TQPixmap p; - TQString icon = "undo"; + TQString icon = "edit-undo"; TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader(); p= loader->loadIcon(icon, TDEIcon::Small, 0, TDEIcon::DefaultState, 0, true); diff --git a/tdecachegrind/tdecachegrind/sourceitem.cpp b/tdecachegrind/tdecachegrind/sourceitem.cpp index d6e1c1a9..85713c14 100644 --- a/tdecachegrind/tdecachegrind/sourceitem.cpp +++ b/tdecachegrind/tdecachegrind/sourceitem.cpp @@ -161,7 +161,7 @@ void SourceItem::updateCost() TQString str; TQPixmap p; - TQString icon = "undo"; + TQString icon = "edit-undo"; TDEIconLoader* loader = TDEApplication::kApplication()->iconLoader(); p= loader->loadIcon(icon, TDEIcon::Small, 0, TDEIcon::DefaultState, 0, true); diff --git a/tdecachegrind/tdecachegrind/toplevel.cpp b/tdecachegrind/tdecachegrind/toplevel.cpp index 3658aee9..bcee063f 100644 --- a/tdecachegrind/tdecachegrind/toplevel.cpp +++ b/tdecachegrind/tdecachegrind/toplevel.cpp @@ -528,7 +528,7 @@ void TopLevel::createMiscActions() action->setWhatsThis( hint ); - _taDump = new TDEToggleAction( i18n( "&Force Dump" ), "redo", + _taDump = new TDEToggleAction( i18n( "&Force Dump" ), "edit-redo", #if TDE_VERSION > 0x030190 // for KDE 3.2: TDEStdAccel::key is deprecated TDEStdAccel::shortcut(TDEStdAccel::Redo), @@ -650,7 +650,7 @@ void TopLevel::createMiscActions() "

(*) Only if function grouping is switched on (e.g. ELF object grouping)."); _taExpanded->setWhatsThis( hint ); - _taCycles = new TDEToggleAction( i18n( "Do Cycle Detection" ), "undo", + _taCycles = new TDEToggleAction( i18n( "Do Cycle Detection" ), "edit-undo", TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT( toggleCycles() ), actionCollection(), "view_cycles" ); diff --git a/umbrello/umbrello/listpopupmenu.cpp b/umbrello/umbrello/listpopupmenu.cpp index 62799646..136627b0 100644 --- a/umbrello/umbrello/listpopupmenu.cpp +++ b/umbrello/umbrello/listpopupmenu.cpp @@ -1329,8 +1329,8 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) { } void ListPopupMenu::setupDiagramMenu(UMLView* view) { - insertItem(SmallIcon("undo"), i18n("Undo"), mt_Undo); - insertItem(SmallIcon("redo"), i18n("Redo"), mt_Redo); + insertItem(SmallIcon("edit-undo"), i18n("Undo"), mt_Undo); + insertItem(SmallIcon("edit-redo"), i18n("Redo"), mt_Redo); insertSeparator(); insertStdItem(mt_Cut); insertStdItem(mt_Copy); -- cgit v1.2.1