From 58964048b37c52bbb841d7ec9386a75d9bf8fbc7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 15:43:58 -0500 Subject: Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance --- kalarm/editdlg.cpp | 4 ++-- kalarm/functions.cpp | 2 +- kalarm/mainwindow.cpp | 6 +++--- kalarm/prefdlg.cpp | 2 +- kalarm/sounddlg.cpp | 2 +- kalarm/templatedlg.cpp | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kalarm') diff --git a/kalarm/editdlg.cpp b/kalarm/editdlg.cpp index ced83483..f6e1f0b0 100644 --- a/kalarm/editdlg.cpp +++ b/kalarm/editdlg.cpp @@ -435,7 +435,7 @@ void EditAlarmDlg::initDisplayAlarms(TQWidget* parent) // File browse button mFileBrowseButton = new TQPushButton(mFileBox); - mFileBrowseButton->setPixmap(SmallIcon("fileopen")); + mFileBrowseButton->setPixmap(SmallIcon("document-open")); mFileBrowseButton->setFixedSize(mFileBrowseButton->sizeHint()); TQToolTip::add(mFileBrowseButton, i18n("Choose a file")); TQWhatsThis::add(mFileBrowseButton, i18n("Select a text or image file to display.")); @@ -526,7 +526,7 @@ void EditAlarmDlg::initCommand(TQWidget* parent) // Log file browse button. // The file browser dialogue is activated by the PickLogFileRadio class. TQPushButton* browseButton = new TQPushButton(box); - browseButton->setPixmap(SmallIcon("fileopen")); + browseButton->setPixmap(SmallIcon("document-open")); browseButton->setFixedSize(browseButton->sizeHint()); TQToolTip::add(browseButton, i18n("Choose a file")); TQWhatsThis::add(browseButton, i18n("Select a log file.")); diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp index f7dbc256..cd1f95d5 100644 --- a/kalarm/functions.cpp +++ b/kalarm/functions.cpp @@ -111,7 +111,7 @@ MainWindow* displayMainWindowSelected(const TQString& eventID) */ TDEAction* createNewAlarmAction(const TQString& label, TQObject* receiver, const char* slot, TDEActionCollection* actions, const char* name) { - return new TDEAction(label, "filenew", TDEStdAccel::openNew(), receiver, slot, actions, name); + return new TDEAction(label, "document-new", TDEStdAccel::openNew(), receiver, slot, actions, name); } /****************************************************************************** diff --git a/kalarm/mainwindow.cpp b/kalarm/mainwindow.cpp index 7487a8a2..d0791216 100644 --- a/kalarm/mainwindow.cpp +++ b/kalarm/mainwindow.cpp @@ -330,9 +330,9 @@ void MainWindow::initActions() mActionNew = KAlarm::createNewAlarmAction(i18n("&New..."), TQT_TQOBJECT(this), TQT_SLOT(slotNew()), actions, "new"); mActionNewFromTemplate = KAlarm::createNewFromTemplateAction(i18n("New &From Template"), TQT_TQOBJECT(this), TQT_SLOT(slotNewFromTemplate(const KAEvent&)), actions, "newFromTempl"); mActionCreateTemplate = new TDEAction(i18n("Create Tem&plate..."), 0, TQT_TQOBJECT(this), TQT_SLOT(slotNewTemplate()), actions, "createTemplate"); - mActionCopy = new TDEAction(i18n("&Copy..."), "editcopy", TQt::SHIFT+TQt::Key_Insert, TQT_TQOBJECT(this), TQT_SLOT(slotCopy()), actions, "copy"); + mActionCopy = new TDEAction(i18n("&Copy..."), "edit-copy", TQt::SHIFT+TQt::Key_Insert, TQT_TQOBJECT(this), TQT_SLOT(slotCopy()), actions, "copy"); mActionModify = new TDEAction(i18n("&Edit..."), "edit", TQt::CTRL+TQt::Key_E, TQT_TQOBJECT(this), TQT_SLOT(slotModify()), actions, "modify"); - mActionDelete = new TDEAction(i18n("&Delete"), "editdelete", TQt::Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotDelete()), actions, "delete"); + mActionDelete = new TDEAction(i18n("&Delete"), "edit-delete", TQt::Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotDelete()), actions, "delete"); mActionReactivate = new TDEAction(i18n("Reac&tivate"), 0, TQt::CTRL+TQt::Key_R, TQT_TQOBJECT(this), TQT_SLOT(slotReactivate()), actions, "undelete"); mActionEnable = new TDEAction(TQString(), 0, TQt::CTRL+TQt::Key_B, TQT_TQOBJECT(this), TQT_SLOT(slotEnable()), actions, "disable"); mActionView = new TDEAction(i18n("&View"), "viewmag", TQt::CTRL+TQt::Key_W, TQT_TQOBJECT(this), TQT_SLOT(slotView()), actions, "view"); @@ -673,7 +673,7 @@ void MainWindow::slotDelete() if (KMessageBox::warningContinueCancel(this, i18n("Do you really want to delete the selected alarm?", "Do you really want to delete the %n selected alarms?", n), i18n("Delete Alarm", "Delete Alarms", n), - KGuiItem(i18n("&Delete"), "editdelete"), + KGuiItem(i18n("&Delete"), "edit-delete"), Preferences::CONFIRM_ALARM_DELETION) != KMessageBox::Continue) return; diff --git a/kalarm/prefdlg.cpp b/kalarm/prefdlg.cpp index 22346afa..f439d609 100644 --- a/kalarm/prefdlg.cpp +++ b/kalarm/prefdlg.cpp @@ -960,7 +960,7 @@ EditPrefTab::EditPrefTab(TQVBox* frame) mSoundFile = new TQLineEdit(box); mSoundFileLabel->setBuddy(mSoundFile); mSoundFileBrowse = new TQPushButton(box); - mSoundFileBrowse->setPixmap(SmallIcon("fileopen")); + mSoundFileBrowse->setPixmap(SmallIcon("document-open")); mSoundFileBrowse->setFixedSize(mSoundFileBrowse->sizeHint()); connect(mSoundFileBrowse, TQT_SIGNAL(clicked()), TQT_SLOT(slotBrowseSoundFile())); TQToolTip::add(mSoundFileBrowse, i18n("Choose a sound file")); diff --git a/kalarm/sounddlg.cpp b/kalarm/sounddlg.cpp index a63c4df8..6cd2301a 100644 --- a/kalarm/sounddlg.cpp +++ b/kalarm/sounddlg.cpp @@ -97,7 +97,7 @@ SoundDlg::SoundDlg(const TQString& file, float volume, float fadeVolume, int fad // File browse button mFileBrowseButton = new PushButton(box); - mFileBrowseButton->setPixmap(SmallIcon("fileopen")); + mFileBrowseButton->setPixmap(SmallIcon("document-open")); mFileBrowseButton->setFixedSize(mFileBrowseButton->sizeHint()); connect(mFileBrowseButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotPickFile())); TQToolTip::add(mFileBrowseButton, i18n("Choose a file")); diff --git a/kalarm/templatedlg.cpp b/kalarm/templatedlg.cpp index 8ee2ca38..3754487a 100644 --- a/kalarm/templatedlg.cpp +++ b/kalarm/templatedlg.cpp @@ -187,7 +187,7 @@ void TemplateDlg::slotDelete() int n = items.count(); if (KMessageBox::warningContinueCancel(this, i18n("Do you really want to delete the selected alarm template?", "Do you really want to delete the %n selected alarm templates?", n), - i18n("Delete Alarm Template", "Delete Alarm Templates", n), KGuiItem(i18n("&Delete"), "editdelete")) + i18n("Delete Alarm Template", "Delete Alarm Templates", n), KGuiItem(i18n("&Delete"), "edit-delete")) != KMessageBox::Continue) return; -- cgit v1.2.3