summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Whiting <[email protected]>2015-05-06 05:48:21 -0600
committerJeremy Whiting <[email protected]>2015-05-06 05:48:21 -0600
commit7f3257fbdbc22f9231e68be9865bd2e301a7a332 (patch)
tree38fe612cb156b84be1d26e05af9032668d824c4b
parent5d7824aaca09273f2fac3423d9aae12fab7f15c8 (diff)
Use standard document save, print and text-speak icons where it makes sense.
-rw-r--r--kmouth.cpp8
-rw-r--r--phraselist.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/kmouth.cpp b/kmouth.cpp
index afab4db..393e45e 100644
--- a/kmouth.cpp
+++ b/kmouth.cpp
@@ -111,7 +111,7 @@ void KMouthApp::initActions()
{
// The "File" menu
fileOpen = actionCollection()->addAction(QLatin1String("file_open"));
- fileOpen->setIcon(KIcon(QLatin1String("phrasehistory_open")));
+ fileOpen->setIcon(KIcon(QLatin1String("document-open")));
fileOpen->setText(i18n("&Open as History..."));
fileOpen->setShortcuts(KStandardShortcut::open());
connect(fileOpen, SIGNAL(triggered(bool)), this, SLOT(slotFileOpen()));
@@ -119,7 +119,7 @@ void KMouthApp::initActions()
fileOpen->setWhatsThis(i18n("Opens an existing file as history"));
fileSaveAs = actionCollection()->addAction(QLatin1String("file_save_as"));
- fileSaveAs->setIcon(KIcon(QLatin1String("phrasehistory_save")));
+ fileSaveAs->setIcon(KIcon(QLatin1String("document-save")));
fileSaveAs->setText(i18n("Save &History As..."));
fileSaveAs->setShortcuts(KStandardShortcut::save());
connect(fileSaveAs, SIGNAL(triggered(bool)), this, SLOT(slotFileSaveAs()));
@@ -127,7 +127,7 @@ void KMouthApp::initActions()
fileSaveAs->setWhatsThis(i18n("Saves the actual history as..."));
filePrint = actionCollection()->addAction(QLatin1String("file_print"));
- filePrint->setIcon(KIcon(QLatin1String("phrasehistory_print")));
+ filePrint->setIcon(KIcon(QLatin1String("document-print")));
filePrint->setText(i18n("&Print History..."));
filePrint->setShortcuts(KStandardShortcut::print());
connect(filePrint, SIGNAL(triggered(bool)), this, SLOT(slotFilePrint()));
@@ -152,7 +152,7 @@ void KMouthApp::initActions()
editPaste->setWhatsThis(i18n("Pastes the clipboard contents at the current cursor position into the edit field."));
editSpeak = actionCollection()->addAction(QLatin1String("edit_speak"));
- editSpeak->setIcon(KIcon(QLatin1String("speak")));
+ editSpeak->setIcon(KIcon(QLatin1String("text-speak")));
editSpeak->setText(i18nc("Start speaking", "&Speak"));
connect(editSpeak, SIGNAL(triggered(bool)), phraseList, SLOT(speak()));
editSpeak->setToolTip(i18n("Speaks the currently active sentence(s)"));
diff --git a/phraselist.cpp b/phraselist.cpp
index 3a9a05b..191c582 100644
--- a/phraselist.cpp
+++ b/phraselist.cpp
@@ -83,7 +83,7 @@ PhraseList::PhraseList(QWidget *parent, const char *name) : QWidget(parent)
rowLayout->addWidget(lineEdit);
lineEdit->setFocus();
- QIcon icon = KIcon(QLatin1String("speak"));
+ QIcon icon = KIcon(QLatin1String("text-speak"));
speakButton = new QPushButton(icon, i18n("&Speak"), this);
speakButton->setFocusPolicy(Qt::NoFocus);
speakButton->setAutoDefault(false);