Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7f3257fb authored by Jeremy Whiting's avatar Jeremy Whiting

Use standard document save, print and text-speak icons where it makes sense.

parent 5d7824aa
......@@ -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)"));
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment