diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-13 15:43:56 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-13 15:43:56 -0500 |
commit | 0bde81cee4b8d3edc6da54dbbb37846806873c73 (patch) | |
tree | 8e7d01c45299d38334866258efd3ee80318935ad /kstars | |
parent | 8e1f7a720ba0dd7056d804070a624b2a4fe60140 (diff) | |
download | tdeedu-0bde81cee4b8d3edc6da54dbbb37846806873c73.tar.gz tdeedu-0bde81cee4b8d3edc6da54dbbb37846806873c73.zip |
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
Diffstat (limited to 'kstars')
-rw-r--r-- | kstars/kstars/imageviewer.cpp | 4 | ||||
-rw-r--r-- | kstars/kstars/indifitsconf.cpp | 2 | ||||
-rw-r--r-- | kstars/kstars/kstarsinit.cpp | 4 | ||||
-rw-r--r-- | kstars/kstars/tools/observinglist.cpp | 6 | ||||
-rw-r--r-- | kstars/kstars/tools/scriptbuilder.cpp | 8 |
5 files changed, 12 insertions, 12 deletions
diff --git a/kstars/kstars/imageviewer.cpp b/kstars/kstars/imageviewer.cpp index 80b14c4b..7e31d3cc 100644 --- a/kstars/kstars/imageviewer.cpp +++ b/kstars/kstars/imageviewer.cpp @@ -37,9 +37,9 @@ ImageViewer::ImageViewer (const KURL *url, const TQString &capText, TQWidget *pa // JH: easier to just disable its mobility toolBar()->setMovingEnabled( false ); - TDEAction *action = new TDEAction (i18n ("Close Window"), "fileclose", CTRL+Key_Q, TQT_TQOBJECT(this), TQT_SLOT (close()), actionCollection()); + TDEAction *action = new TDEAction (i18n ("Close Window"), "window-close", CTRL+Key_Q, TQT_TQOBJECT(this), TQT_SLOT (close()), actionCollection()); action->plug (toolBar()); - action = new TDEAction (i18n ("Save Image"), "filesave", CTRL+Key_S, TQT_TQOBJECT(this), TQT_SLOT (saveFileToDisc()), actionCollection()); + action = new TDEAction (i18n ("Save Image"), "document-save", CTRL+Key_S, TQT_TQOBJECT(this), TQT_SLOT (saveFileToDisc()), actionCollection()); action->plug (toolBar()); statusBar()->insertItem( capText, 0, 1, true ); diff --git a/kstars/kstars/indifitsconf.cpp b/kstars/kstars/indifitsconf.cpp index 083dca84..83779bb1 100644 --- a/kstars/kstars/indifitsconf.cpp +++ b/kstars/kstars/indifitsconf.cpp @@ -28,7 +28,7 @@ INDIFITSConf::INDIFITSConf(TQWidget* parent, const char* name, bool modal, WFlag { TDEIconLoader *icons = TDEGlobal::iconLoader(); - selectDirB->setPixmap( icons->loadIcon( "fileopen", TDEIcon::Toolbar ) ); + selectDirB->setPixmap( icons->loadIcon( "document-open", TDEIcon::Toolbar ) ); connect(selectDirB, TQT_SIGNAL(clicked()), this, TQT_SLOT(saveFITSDirectory())); connect(filterCombo, TQT_SIGNAL(activated (int)), this, TQT_SLOT(comboUpdate(int))); } diff --git a/kstars/kstars/kstarsinit.cpp b/kstars/kstars/kstarsinit.cpp index e5493a63..456c18a6 100644 --- a/kstars/kstars/kstarsinit.cpp +++ b/kstars/kstars/kstarsinit.cpp @@ -50,11 +50,11 @@ void KStars::initActions() { //File Menu: new TDEAction(i18n("&New Window"), "window_new", TDEShortcut( "Ctrl+N" ), TQT_TQOBJECT(this), TQT_SLOT( newWindow() ), actionCollection(), "new_window"); - new TDEAction(i18n("&Close Window"), "fileclose", TDEShortcut( "Ctrl+W" ), + new TDEAction(i18n("&Close Window"), "window-close", TDEShortcut( "Ctrl+W" ), TQT_TQOBJECT(this), TQT_SLOT( closeWindow() ), actionCollection(), "close_window"); new TDEAction( i18n( "&Download Data..." ), "knewstuff", TDEShortcut( "Ctrl+D" ), TQT_TQOBJECT(this), TQT_SLOT( slotDownload() ), actionCollection(), "get_data" ); - new TDEAction( i18n( "Open FITS..."), "fileopen", TDEShortcut( "Ctrl+O"), TQT_TQOBJECT(this), TQT_SLOT( slotOpenFITS()), actionCollection(), "open_file"); + new TDEAction( i18n( "Open FITS..."), "document-open", TDEShortcut( "Ctrl+O"), TQT_TQOBJECT(this), TQT_SLOT( slotOpenFITS()), actionCollection(), "open_file"); new TDEAction( i18n( "&Save Sky Image..." ), "fileexport", TDEShortcut( "Ctrl+I" ), TQT_TQOBJECT(this), TQT_SLOT( slotExportImage() ), actionCollection(), "export_image" ); new TDEAction( i18n( "&Run Script..." ), "launch", TDEShortcut( "Ctrl+R" ), diff --git a/kstars/kstars/tools/observinglist.cpp b/kstars/kstars/tools/observinglist.cpp index be2ec6f4..d3b921ea 100644 --- a/kstars/kstars/tools/observinglist.cpp +++ b/kstars/kstars/tools/observinglist.cpp @@ -106,9 +106,9 @@ ObservingList::ObservingList( KStars *_ks, TQWidget* parent ) //Add icons to Push Buttons TDEIconLoader *icons = TDEGlobal::iconLoader(); - ui->OpenButton->setPixmap( icons->loadIcon( "fileopen", TDEIcon::Toolbar ) ); - ui->SaveButton->setPixmap( icons->loadIcon( "filesave", TDEIcon::Toolbar ) ); - ui->SaveAsButton->setPixmap( icons->loadIcon( "filesaveas", TDEIcon::Toolbar ) ); + ui->OpenButton->setPixmap( icons->loadIcon( "document-open", TDEIcon::Toolbar ) ); + ui->SaveButton->setPixmap( icons->loadIcon( "document-save", TDEIcon::Toolbar ) ); + ui->SaveAsButton->setPixmap( icons->loadIcon( "document-save-as", TDEIcon::Toolbar ) ); ui->WizardButton->setPixmap( icons->loadIcon( "wizard", TDEIcon::Toolbar ) ); ui->MiniButton->setPixmap( icons->loadIcon( "window_nofullscreen", TDEIcon::Toolbar ) ); diff --git a/kstars/kstars/tools/scriptbuilder.cpp b/kstars/kstars/tools/scriptbuilder.cpp index e688b651..3d1ddbaa 100644 --- a/kstars/kstars/tools/scriptbuilder.cpp +++ b/kstars/kstars/tools/scriptbuilder.cpp @@ -266,10 +266,10 @@ ScriptBuilder::ScriptBuilder( TQWidget *parent, const char *name ) //Add icons to Push Buttons TDEIconLoader *icons = TDEGlobal::iconLoader(); - sb->NewButton->setIconSet( icons->loadIcon( "filenew", TDEIcon::Toolbar ) ); - sb->OpenButton->setIconSet( icons->loadIcon( "fileopen", TDEIcon::Toolbar ) ); - sb->SaveButton->setIconSet( icons->loadIconSet( "filesave", TDEIcon::Toolbar ) ); - sb->SaveAsButton->setIconSet( icons->loadIconSet( "filesaveas", TDEIcon::Toolbar ) ); + sb->NewButton->setIconSet( icons->loadIcon( "document-new", TDEIcon::Toolbar ) ); + sb->OpenButton->setIconSet( icons->loadIcon( "document-open", TDEIcon::Toolbar ) ); + sb->SaveButton->setIconSet( icons->loadIconSet( "document-save", TDEIcon::Toolbar ) ); + sb->SaveAsButton->setIconSet( icons->loadIconSet( "document-save-as", TDEIcon::Toolbar ) ); sb->RunButton->setIconSet( icons->loadIconSet( "launch", TDEIcon::Toolbar ) ); sb->CopyButton->setIconSet( icons->loadIconSet( "reload", TDEIcon::Toolbar ) ); sb->AddButton->setIconSet( icons->loadIconSet( "back", TDEIcon::Toolbar ) ); |