summaryrefslogtreecommitdiffstats
path: root/kalarm
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm')
-rw-r--r--kalarm/editdlg.cpp4
-rw-r--r--kalarm/functions.cpp2
-rw-r--r--kalarm/mainwindow.cpp6
-rw-r--r--kalarm/prefdlg.cpp2
-rw-r--r--kalarm/sounddlg.cpp2
-rw-r--r--kalarm/templatedlg.cpp2
6 files changed, 9 insertions, 9 deletions
diff --git a/kalarm/editdlg.cpp b/kalarm/editdlg.cpp
index ced834833..f6e1f0b08 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 f7dbc256f..cd1f95d57 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 7487a8a2d..d07912165 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 22346afa0..f439d609d 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 a63c4df86..6cd2301aa 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 8ee2ca387..3754487a2 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;