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

pull/1/head
Timothy Pearson 10 years ago
parent a115544364
commit 75cfc55a30

@ -233,7 +233,7 @@ void KigPart::setupActions()
aDeleteObjects->setToolTip(i18n("Delete the selected objects")); aDeleteObjects->setToolTip(i18n("Delete the selected objects"));
aCancelConstruction = new TDEAction( aCancelConstruction = new TDEAction(
i18n("Cancel Construction"), "stop", Key_Escape, this, i18n("Cancel Construction"), "process-stop", Key_Escape, this,
TQT_SLOT(cancelConstruction()), actionCollection(), "cancel_construction"); TQT_SLOT(cancelConstruction()), actionCollection(), "cancel_construction");
aCancelConstruction->setToolTip( aCancelConstruction->setToolTip(
i18n("Cancel the construction of the object being constructed")); i18n("Cancel the construction of the object being constructed"));

@ -184,7 +184,7 @@ void KLatin::resetGUI()
// various options that are available to choose // various options that are available to choose
// and setCentralWidget it. // and setCentralWidget it.
klatinchoose = new KLatinChoose(this); klatinchoose = new KLatinChoose(this);
klatinchoose->QuitButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("exit", TDEIcon::Small)); klatinchoose->QuitButton->setIconSet(TDEGlobal::iconLoader()->loadIconSet("system-log-out", TDEIcon::Small));
klatinchoose->show(); klatinchoose->show();
setCentralWidget(klatinchoose); setCentralWidget(klatinchoose);

@ -89,7 +89,7 @@ KPercentage::KPercentage( const char *name ) :
KHelpMenu *help_menu = new KHelpMenu( this, TDEGlobal::instance()->aboutData(), true ); KHelpMenu *help_menu = new KHelpMenu( this, TDEGlobal::instance()->aboutData(), true );
button_help->setPopup( ( TQPopupMenu* ) ( help_menu->menu() ) ); button_help->setPopup( ( TQPopupMenu* ) ( help_menu->menu() ) );
KPushButton *button_close = new KPushButton( i18n( "E&xit" ), this ); KPushButton *button_close = new KPushButton( i18n( "E&xit" ), this );
button_close->setIconSet( TQIconSet( icon_loader.loadIcon( "exit", TDEIcon::NoGroup, 32 ) ) ); button_close->setIconSet( TQIconSet( icon_loader.loadIcon( "system-log-out", TDEIcon::NoGroup, 32 ) ) );
combo_box_level = new KComboBox( this ); combo_box_level = new KComboBox( this );
combo_box_level->insertItem( i18n( "Easy" ) ); combo_box_level->insertItem( i18n( "Easy" ) );

@ -138,7 +138,7 @@ void MainWindow::setupActions()
pause = new TDEToggleAction(i18n("Pause E&xecution"), "player_pause", Key_Pause, TQT_TQOBJECT(this), TQT_SLOT( slotPauseExecution() ), ac, "pause"); pause = new TDEToggleAction(i18n("Pause E&xecution"), "player_pause", Key_Pause, TQT_TQOBJECT(this), TQT_SLOT( slotPauseExecution() ), ac, "pause");
pause->setChecked(false); pause->setChecked(false);
pause->setEnabled(false); pause->setEnabled(false);
stop = new TDEAction(i18n("Stop E&xecution"), "stop", Key_Escape, TQT_TQOBJECT(this), TQT_SLOT( slotAbortExecution() ), ac, "stop"); stop = new TDEAction(i18n("Stop E&xecution"), "process-stop", Key_Escape, TQT_TQOBJECT(this), TQT_SLOT( slotAbortExecution() ), ac, "stop");
stop->setEnabled(false); stop->setEnabled(false);
KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(slotPrint()), ac); KStdAction::print(TQT_TQOBJECT(this), TQT_SLOT(slotPrint()), ac);
KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), ac); KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), ac);

Loading…
Cancel
Save