From 34c74aed8ee44272f59c24150c13ac96a6b9e0a6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 12 Oct 2014 17:51:08 -0500 Subject: [PATCH] Bring stop, lock, exit, and run icons into XDG compliance --- kenolaba/AbTop.cpp | 2 +- kjumpingcube/kjumpingcube.cpp | 2 +- kmahjongg/Editor.cpp | 2 +- ksokoban/MainWindow.cpp | 2 +- lskat/lskat/lskat.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kenolaba/AbTop.cpp b/kenolaba/AbTop.cpp index 0e808e08..51a54532 100644 --- a/kenolaba/AbTop.cpp +++ b/kenolaba/AbTop.cpp @@ -135,7 +135,7 @@ void AbTop::setupActions() newAction = KStdGameAction::gameNew( TQT_TQOBJECT(this), TQT_SLOT(newGame()), actionCollection() ); KStdGameAction::quit( TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection() ); - stopAction = new TDEAction( i18n("&Stop Search"), "stop", Key_S, TQT_TQOBJECT(this), + stopAction = new TDEAction( i18n("&Stop Search"), "process-stop", Key_S, TQT_TQOBJECT(this), TQT_SLOT(stopSearch()), actionCollection(), "move_stop"); backAction = new TDEAction( i18n("Take &Back"), "back", diff --git a/kjumpingcube/kjumpingcube.cpp b/kjumpingcube/kjumpingcube.cpp index 8813d018..6981b449 100644 --- a/kjumpingcube/kjumpingcube.cpp +++ b/kjumpingcube/kjumpingcube.cpp @@ -83,7 +83,7 @@ void KJumpingCube::initTDEAction() { KStdGameAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); hintAction = KStdGameAction::hint(TQT_TQOBJECT(view), TQT_SLOT(getHint()), actionCollection()); - stopAction = new TDEAction(i18n("Stop &Thinking"), "stop", + stopAction = new TDEAction(i18n("Stop &Thinking"), "process-stop", TQt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(stop()), actionCollection(), "game_stop"); stopAction->setEnabled(false); undoAction = KStdGameAction::undo(TQT_TQOBJECT(this), TQT_SLOT(undo()), actionCollection()); diff --git a/kmahjongg/Editor.cpp b/kmahjongg/Editor.cpp index b344710b..844eb749 100644 --- a/kmahjongg/Editor.cpp +++ b/kmahjongg/Editor.cpp @@ -164,7 +164,7 @@ void Editor::setupToolbar() ID_TOOL_RIGHT, true, i18n("Shift right")); topToolbar->insertSeparator(); - topToolbar->insertButton(loader->loadIcon("exit", TDEIcon::Toolbar), + topToolbar->insertButton(loader->loadIcon("system-log-out", TDEIcon::Toolbar), ID_META_EXIT, true, i18n("Exit")); // status in the toolbar for now (ick) diff --git a/ksokoban/MainWindow.cpp b/ksokoban/MainWindow.cpp index 8ebef3f2..df963cc1 100644 --- a/ksokoban/MainWindow.cpp +++ b/ksokoban/MainWindow.cpp @@ -106,7 +106,7 @@ MainWindow::MainWindow() : TDEMainWindow(0), externalCollection_(0) { pixmap = SmallIcon("redo"); game_->insertItem(TQIconSet(pixmap), i18n("&Redo"), playField_, TQT_SLOT(redo()), TQKeySequence( (TDEStdAccel::redo()).toString())); game_->insertSeparator(); - pixmap = SmallIcon("exit"); + pixmap = SmallIcon("system-log-out"); game_->insertItem(TQIconSet(pixmap), i18n("&Quit"), TDEApplication::kApplication(), TQT_SLOT(closeAllWindows()), TQKeySequence( (TDEStdAccel::quit()).toString())); menu_->insertItem(i18n("&Game"), game_); diff --git a/lskat/lskat/lskat.cpp b/lskat/lskat/lskat.cpp index dab5612a..4774855b 100644 --- a/lskat/lskat/lskat.cpp +++ b/lskat/lskat/lskat.cpp @@ -161,7 +161,7 @@ void LSkatApp::initGUI() (void)KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(slotFileNew()), actionCollection(), "new_game"); ACTION("new_game")->setStatusText(i18n("Starting a new game...")); ACTION("new_game")->setWhatsThis(i18n("Starting a new game...")); - (void)new TDEAction(i18n("&End Game"),"stop", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileEnd()), + (void)new TDEAction(i18n("&End Game"),"process-stop", 0, TQT_TQOBJECT(this), TQT_SLOT(slotFileEnd()), actionCollection(), "end_game"); ACTION("end_game")->setStatusText(i18n("Ending the current game...")); ACTION("end_game")->setWhatsThis(i18n("Aborts a currently played game. No winner will be declared."));