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

pull/1/head
Timothy Pearson 10 years ago
parent 7e183aba69
commit 34c74aed8e

@ -135,7 +135,7 @@ void AbTop::setupActions()
newAction = KStdGameAction::gameNew( TQT_TQOBJECT(this), TQT_SLOT(newGame()), actionCollection() ); newAction = KStdGameAction::gameNew( TQT_TQOBJECT(this), TQT_SLOT(newGame()), actionCollection() );
KStdGameAction::quit( TQT_TQOBJECT(this), TQT_SLOT(close()), 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"); TQT_SLOT(stopSearch()), actionCollection(), "move_stop");
backAction = new TDEAction( i18n("Take &Back"), "back", backAction = new TDEAction( i18n("Take &Back"), "back",

@ -83,7 +83,7 @@ void KJumpingCube::initTDEAction() {
KStdGameAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); KStdGameAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection());
hintAction = KStdGameAction::hint(TQT_TQOBJECT(view), TQT_SLOT(getHint()), 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"); TQt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(stop()), actionCollection(), "game_stop");
stopAction->setEnabled(false); stopAction->setEnabled(false);
undoAction = KStdGameAction::undo(TQT_TQOBJECT(this), TQT_SLOT(undo()), actionCollection()); undoAction = KStdGameAction::undo(TQT_TQOBJECT(this), TQT_SLOT(undo()), actionCollection());

@ -164,7 +164,7 @@ void Editor::setupToolbar()
ID_TOOL_RIGHT, true, i18n("Shift right")); ID_TOOL_RIGHT, true, i18n("Shift right"));
topToolbar->insertSeparator(); topToolbar->insertSeparator();
topToolbar->insertButton(loader->loadIcon("exit", TDEIcon::Toolbar), topToolbar->insertButton(loader->loadIcon("system-log-out", TDEIcon::Toolbar),
ID_META_EXIT, true, i18n("Exit")); ID_META_EXIT, true, i18n("Exit"));
// status in the toolbar for now (ick) // status in the toolbar for now (ick)

@ -106,7 +106,7 @@ MainWindow::MainWindow() : TDEMainWindow(0), externalCollection_(0) {
pixmap = SmallIcon("redo"); pixmap = SmallIcon("redo");
game_->insertItem(TQIconSet(pixmap), i18n("&Redo"), playField_, TQT_SLOT(redo()), TQKeySequence( (TDEStdAccel::redo()).toString())); game_->insertItem(TQIconSet(pixmap), i18n("&Redo"), playField_, TQT_SLOT(redo()), TQKeySequence( (TDEStdAccel::redo()).toString()));
game_->insertSeparator(); 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())); game_->insertItem(TQIconSet(pixmap), i18n("&Quit"), TDEApplication::kApplication(), TQT_SLOT(closeAllWindows()), TQKeySequence( (TDEStdAccel::quit()).toString()));
menu_->insertItem(i18n("&Game"), game_); menu_->insertItem(i18n("&Game"), game_);

@ -161,7 +161,7 @@ void LSkatApp::initGUI()
(void)KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(slotFileNew()), actionCollection(), "new_game"); (void)KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(slotFileNew()), actionCollection(), "new_game");
ACTION("new_game")->setStatusText(i18n("Starting a new game...")); ACTION("new_game")->setStatusText(i18n("Starting a new game..."));
ACTION("new_game")->setWhatsThis(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"); actionCollection(), "end_game");
ACTION("end_game")->setStatusText(i18n("Ending the current 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.")); ACTION("end_game")->setWhatsThis(i18n("Aborts a currently played game. No winner will be declared."));

Loading…
Cancel
Save