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

pull/1/head
Timothy Pearson 10 years ago
parent a6a941a77f
commit 26f9facd3e

@ -79,7 +79,7 @@ CuesheetEditor::CuesheetEditor( TQWidget *parent, const char *name, bool modal,
this, TQT_SLOT(generate())
);
pConvert = new KPushButton( iconLoader->loadIcon("run",TDEIcon::Small), i18n("Format"), this, "pConvert" );
pConvert = new KPushButton( iconLoader->loadIcon("system-run",TDEIcon::Small), i18n("Format"), this, "pConvert" );
buttonBox->addWidget( pConvert );
connect( pConvert, TQT_SIGNAL(clicked()),
this, TQT_SLOT(convert())
@ -93,7 +93,7 @@ CuesheetEditor::CuesheetEditor( TQWidget *parent, const char *name, bool modal,
buttonBox->addStretch();
pOk = new KPushButton(iconLoader->loadIcon("exit",TDEIcon::Small), i18n("Close"), this, "pOk" );
pOk = new KPushButton(iconLoader->loadIcon("system-log-out",TDEIcon::Small), i18n("Close"), this, "pOk" );
pOk->setFocus();
buttonBox->addWidget( pOk );
connect( pOk, TQT_SIGNAL(clicked()),

@ -168,8 +168,8 @@ FileList::FileList( CDManager* _cdManager, TagEngine* _tagEngine, Config* _confi
actionCollection = new TDEActionCollection( this );
edit = new TDEAction( i18n("Edit options ..."), "view_text", 0, TQT_TQOBJECT(this), TQT_SLOT(showOptionsEditorDialog()), actionCollection, "edit_options" );
start = new TDEAction( i18n("Start conversion"), "run", 0, TQT_TQOBJECT(this), TQT_SLOT(convertSelectedItems()), actionCollection, "start_conversion" );
stop = new TDEAction( i18n("Stop conversion"), "stop", 0, TQT_TQOBJECT(this), TQT_SLOT(stopSelectedItems()), actionCollection, "stop_conversion" );
start = new TDEAction( i18n("Start conversion"), "system-run", 0, TQT_TQOBJECT(this), TQT_SLOT(convertSelectedItems()), actionCollection, "start_conversion" );
stop = new TDEAction( i18n("Stop conversion"), "process-stop", 0, TQT_TQOBJECT(this), TQT_SLOT(stopSelectedItems()), actionCollection, "stop_conversion" );
remove = new TDEAction( i18n("Remove"), "edittrash", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(removeSelectedItems()), actionCollection, "remove" );
paste = new TDEAction( i18n("Paste"), "editpaste", 0, TQT_TQOBJECT(this), 0, actionCollection, "paste" ); // TODO paste

@ -107,7 +107,7 @@ LogViewer::LogViewer( Logger* _logger, TQWidget *parent, const char *name, bool
buttonBox->addStretch();
pOk = new KPushButton(iconLoader->loadIcon("exit",TDEIcon::Small), i18n("Close"), this, "pOk" );
pOk = new KPushButton(iconLoader->loadIcon("system-log-out",TDEIcon::Small), i18n("Close"), this, "pOk" );
pOk->setFocus();
buttonBox->addWidget( pOk );
connect( pOk, TQT_SIGNAL(clicked()),

@ -49,7 +49,7 @@ OptionsEditor::OptionsEditor( TagEngine* _tagEngine, Config* _config, FileList*
// setButtonGuiItem( User2, KGuiItem(i18n("Previous"),iconLoader->loadIconSet("go-previous",TDEIcon::Small,16,true/*KDE3.5,false*/)) );
// setButtonGuiItem( User1, KGuiItem(i18n("Next"),iconLoader->loadIconSet("go-next",TDEIcon::Small,16,true/*KDE3.5,false*/)) );
setButtonGuiItem( Ok, KGuiItem(i18n("Close"),iconLoader->loadIconSet("exit",TDEIcon::Small,16,true/*KDE3.5,false*/)) );
setButtonGuiItem( Ok, KGuiItem(i18n("Close"),iconLoader->loadIconSet("system-log-out",TDEIcon::Small,16,true/*KDE3.5,false*/)) );
//// options page ////
conversionOptions = addPage( i18n("Conversion"), i18n("Conversion options"), iconLoader->loadIcon("soundkonverter",TDEIcon::Desktop) );

@ -53,7 +53,7 @@ OptionsRequester::OptionsRequester( Config* config, TQStringList list, TQWidget
buttonBox->addStretch();
pCancel = new KPushButton( iconLoader->loadIcon("exit",TDEIcon::Small), i18n("Cancel"), this, "pCancel" );
pCancel = new KPushButton( iconLoader->loadIcon("system-log-out",TDEIcon::Small), i18n("Cancel"), this, "pCancel" );
buttonBox->addWidget( pCancel );
pOk = new KPushButton( iconLoader->loadIcon("apply",TDEIcon::Small), i18n("Ok"), this, "pOk" );

@ -122,7 +122,7 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo
buttonBox->addStretch();
pOk = new KPushButton( iconLoader->loadIcon("exit",TDEIcon::Small), i18n("Close"), this, "pOk" );
pOk = new KPushButton( iconLoader->loadIcon("system-log-out",TDEIcon::Small), i18n("Close"), this, "pOk" );
pOk->setFocus();
buttonBox->addWidget( pOk );
connect( pOk, TQT_SIGNAL(clicked()),

@ -113,7 +113,7 @@ soundKonverter::soundKonverter()
options = new Options( config, i18n("Choose your prefered output options and click on \"Add files ...\"!"), widget, "options" );
fileList = new FileList( cdManager, tagEngine, config, options, logger, widget, "fileList" );
startAction = new TDEAction( i18n("&Start conversion"), "run", 0, TQT_TQOBJECT(fileList), TQT_SLOT(startConversion()), actionCollection(), "start" );
startAction = new TDEAction( i18n("&Start conversion"), "system-run", 0, TQT_TQOBJECT(fileList), TQT_SLOT(startConversion()), actionCollection(), "start" );
startAction->setEnabled( false );
new TDEAction( i18n("&Replay Gain Tool ..."), "soundkonverter_replaygain", CTRL+Key_R, TQT_TQOBJECT(this), TQT_SLOT(showReplayGainScanner()), actionCollection(), "replaygainscanner" );
//new TDEAction( i18n("R&epair Tool ..."), "soundkonverter_repair", CTRL+Key_E, TQT_TQOBJECT(this), TQT_SLOT(showRepairTool()), actionCollection(), "repairtool" );
@ -121,10 +121,10 @@ soundKonverter::soundKonverter()
new TDEAction( i18n("Show &Log ..."), "view_text", CTRL+Key_L, TQT_TQOBJECT(this), TQT_SLOT(showLogViewer()), actionCollection(), "log" );
// new TDEAction( i18n("About &Plugins ..."), "connect_creating", CTRL+Key_P, TQT_TQOBJECT(this), TQT_SLOT(showAboutPlugins()), actionCollection(), "about_plugins" );
stopAction = new TDEAction( i18n("S&top after current file is complete"), "stop", CTRL+Key_O, TQT_TQOBJECT(fileList), TQT_SLOT(stopConversion()), actionCollection(), "stop" );
continueAction = new TDEAction( i18n("&Continue after current file is complete"), "run", CTRL+Key_T, TQT_TQOBJECT(fileList), TQT_SLOT(continueConversion()), actionCollection(), "continue" );
killAction = new TDEAction( i18n("Stop &immediately"), "exit", CTRL+Key_K, TQT_TQOBJECT(fileList), TQT_SLOT(killConversion()), actionCollection(), "kill" );
stopActionMenu = new TDEActionMenu( i18n("Stop"), "stop", actionCollection(), "stopMenu" );
stopAction = new TDEAction( i18n("S&top after current file is complete"), "process-stop", CTRL+Key_O, TQT_TQOBJECT(fileList), TQT_SLOT(stopConversion()), actionCollection(), "stop" );
continueAction = new TDEAction( i18n("&Continue after current file is complete"), "system-run", CTRL+Key_T, TQT_TQOBJECT(fileList), TQT_SLOT(continueConversion()), actionCollection(), "continue" );
killAction = new TDEAction( i18n("Stop &immediately"), "system-log-out", CTRL+Key_K, TQT_TQOBJECT(fileList), TQT_SLOT(killConversion()), actionCollection(), "kill" );
stopActionMenu = new TDEActionMenu( i18n("Stop"), "process-stop", actionCollection(), "stopMenu" );
stopActionMenu->setDelayed( false );
stopActionMenu->setEnabled( false );
// stopActionMenu->insert( stopAction );
@ -243,7 +243,7 @@ soundKonverter::soundKonverter()
addBox->addSpacing( 18 );
pStart = new KPushButton( iconLoader->loadIcon("run",TDEIcon::Small), i18n("Start"), widget, "pStart" );
pStart = new KPushButton( iconLoader->loadIcon("system-run",TDEIcon::Small), i18n("Start"), widget, "pStart" );
pStart->setFixedHeight( pStart->size().height() );
pStart->setEnabled( false );
addBox->addWidget( pStart );
@ -251,7 +251,7 @@ soundKonverter::soundKonverter()
TQT_TQOBJECT(fileList), TQT_SLOT(startConversion())
);
pStop = new KPushButton( iconLoader->loadIcon("stop",TDEIcon::Small), i18n("Stop"), widget, "pStop" );
pStop = new KPushButton( iconLoader->loadIcon("process-stop",TDEIcon::Small), i18n("Stop"), widget, "pStop" );
pStop->setFixedHeight( pStop->size().height() );
pStop->hide();
pStop->setPopup( stopActionMenu->popupMenu() );

Loading…
Cancel
Save