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 c00b76e6 authored by Jeremy Whiting's avatar Jeremy Whiting

Use generic icons in a few more places.

parent fb6314d7
......@@ -184,7 +184,7 @@ void KMouthApp::initActions()
// The popup menu of the list of spoken sentences
phraseListSpeak = actionCollection()->addAction(QLatin1String("phraselist_speak"));
phraseListSpeak->setIcon(QIcon::fromTheme(QLatin1String("speak")));
phraseListSpeak->setIcon(QIcon::fromTheme(QLatin1String("text-speak")));
phraseListSpeak->setText(i18n("&Speak"));
phraseListSpeak->setToolTip(i18n("Speaks the currently selected phrases in the history"));
connect(phraseListSpeak, SIGNAL(triggered(bool)), phraseList, SLOT(speakListSelection()));
......
......@@ -219,14 +219,14 @@ void PhraseBookDialog::initActions()
{
// The file menu
fileNewPhrase = actionCollection()->addAction(QLatin1String("file_new_phrase"));
fileNewPhrase->setIcon(QIcon::fromTheme(QLatin1String("phrase_new")));
fileNewPhrase->setIcon(QIcon::fromTheme(QLatin1String("document-new")));
fileNewPhrase->setText(i18n("&New Phrase"));
connect(fileNewPhrase, SIGNAL(triggered(bool)), this, SLOT(slotAddPhrase()));
fileNewPhrase->setToolTip(i18n("Adds a new phrase"));
fileNewPhrase->setWhatsThis(i18n("Adds a new phrase"));
fileNewBook = actionCollection()->addAction(QLatin1String("file_new_book"));
fileNewBook->setIcon(QIcon::fromTheme(QLatin1String("phrasebook_new")));
fileNewBook->setIcon(QIcon::fromTheme(QLatin1String("document-new")));
fileNewBook->setText(i18n("New Phrase &Book"));
connect(fileNewBook, SIGNAL(triggered(bool)), this, SLOT(slotAddPhrasebook()));
fileNewBook->setToolTip(i18n("Adds a new phrase book into which other books and phrases can be placed"));
......@@ -237,26 +237,26 @@ void PhraseBookDialog::initActions()
fileSave->setWhatsThis(i18n("Saves the phrase book onto the hard disk"));
fileImport = actionCollection()->addAction(QLatin1String("file_import"));
fileImport->setIcon(QIcon::fromTheme(QLatin1String("phrasebook_open")));
fileImport->setIcon(QIcon::fromTheme(QLatin1String("document-open")));
fileImport->setText(i18n("&Import..."));
connect(fileImport, SIGNAL(triggered(bool)), this, SLOT(slotImportPhrasebook()));
fileImport->setToolTip(i18n("Imports a file and adds its contents to the phrase book"));
fileImport->setWhatsThis(i18n("Imports a file and adds its contents to the phrase book"));
toolbarImport = new KToolBarPopupAction(QIcon::fromTheme(QLatin1String("phrasebook_open")), i18n("&Import..."), this);
toolbarImport = new KToolBarPopupAction(QIcon::fromTheme(QLatin1String("document-open")), i18n("&Import..."), this);
actionCollection()->addAction(QLatin1String("toolbar_import"), toolbarImport);
connect(toolbarImport, SIGNAL(triggered(bool)), this, SLOT(slotImportPhrasebook()));
toolbarImport->setToolTip(i18n("Imports a file and adds its contents to the phrase book"));
toolbarImport->setWhatsThis(i18n("Imports a file and adds its contents to the phrase book"));
fileImportStandardBook = actionCollection()->add<KActionMenu>(QLatin1String("file_import_standard_book"));
fileImportStandardBook->setIcon(QIcon::fromTheme(QLatin1String("phrasebook_open")));
fileImportStandardBook->setIcon(QIcon::fromTheme(QLatin1String("document-open")));
fileImportStandardBook->setText(i18n("I&mport Standard Phrase Book"));
fileImportStandardBook->setToolTip(i18n("Imports a standard phrase book and adds its contents to the phrase book"));
fileImportStandardBook->setWhatsThis(i18n("Imports a standard phrase book and adds its contents to the phrase book"));
fileExport = actionCollection()->addAction(QLatin1String("file_export"));
fileExport->setIcon(QIcon::fromTheme(QLatin1String("phrasebook_save")));
fileExport->setIcon(QIcon::fromTheme(QLatin1String("document-save")));
fileExport->setText(i18n("&Export..."));
connect(fileExport, SIGNAL(triggered(bool)), this, SLOT(slotExportPhrasebook()));
fileExport->setToolTip(i18n("Exports the currently selected phrase(s) or phrase book(s) into a file"));
......
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