Browse Source

Bring stop, lock, exit, and run icons into XDG compliance

pull/1/head
Timothy Pearson 8 years ago
parent
commit
34c74aed8e
  1. 2
      kenolaba/AbTop.cpp
  2. 2
      kjumpingcube/kjumpingcube.cpp
  3. 2
      kmahjongg/Editor.cpp
  4. 2
      ksokoban/MainWindow.cpp
  5. 2
      lskat/lskat/lskat.cpp

2
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",

2
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());

2
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)

2
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_);

2
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."));

Loading…
Cancel
Save