From c1124c6ab4b82daf11b13897d92b9590f697ee96 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Oct 2014 00:15:37 -0500 Subject: Bring centrejust, leftjust, rightjust, text_left, text_right, text_bold, text_italic, text_under, text_strike, and spellcheck icons into XDG compliance --- kbabel/catalogmanager/catalogmanager.cpp | 8 ++++---- kbabel/commonui/projectpref.cpp | 2 +- kbabel/kbabel/kbabel.cpp | 2 +- kbabel/kbabel/spelldlg.cpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kbabel') diff --git a/kbabel/catalogmanager/catalogmanager.cpp b/kbabel/catalogmanager/catalogmanager.cpp index ef386851..44d44998 100644 --- a/kbabel/catalogmanager/catalogmanager.cpp +++ b/kbabel/catalogmanager/catalogmanager.cpp @@ -356,10 +356,10 @@ void CatalogManager::setupActions() action = new TDEAction( i18n("Check S&yntax"), "syntax", CTRL+Key_Y, TQT_TQOBJECT(_catalogManager), TQT_SLOT(checkSyntax()), actionCollection(), "syntax"); action->setEnabled(false); - action = new TDEAction( i18n("S&pell Check"), "spellcheck", CTRL+Key_I, - TQT_TQOBJECT(this), TQT_SLOT(spellcheck()), actionCollection(), "spellcheck"); + action = new TDEAction( i18n("S&pell Check"), "tools-check-spelling", CTRL+Key_I, + TQT_TQOBJECT(this), TQT_SLOT(spellcheck()), actionCollection(), "tools-check-spelling"); action->setEnabled(false); - action = new TDEAction( i18n("Spell Check in &Marked"), "spellcheck", CTRL+ALT+Key_I, + action = new TDEAction( i18n("Spell Check in &Marked"), "tools-check-spelling", CTRL+ALT+Key_I, TQT_TQOBJECT(this), TQT_SLOT(markedSpellcheck()), actionCollection(), "spellcheck_marked"); action->setEnabled(false); action = new TDEAction( i18n("&Rough Translation"), CTRL+Key_T, @@ -382,7 +382,7 @@ void CatalogManager::setupActions() actionMap["statistics_marked"] = NEEDS_DIR | NEEDS_MARK; actionMap["syntax"] = NEEDS_PO; - actionMap["spellcheck"] = NEEDS_PO; + actionMap["tools-check-spelling"] = NEEDS_PO; actionMap["spellcheck_marked"] = NEEDS_PO | NEEDS_MARK; actionMap["rough_translation_marked"] = NEEDS_MARK; actionMap["mail_file"] = NEEDS_PO; diff --git a/kbabel/commonui/projectpref.cpp b/kbabel/commonui/projectpref.cpp index 3ef2b072..5fae9f89 100644 --- a/kbabel/commonui/projectpref.cpp +++ b/kbabel/commonui/projectpref.cpp @@ -80,7 +80,7 @@ ProjectDialog::ProjectDialog(Project::Ptr project) _spellPage = new SpellPreferences(0); addPage(_spellPage, i18n("title of page in preferences dialog","Spelling") - , "spellcheck" + , "tools-check-spelling" , i18n("Options for Spell Checking")); connect( _spellPage, TQT_SIGNAL( settingsChanged() ) , this, TQT_SLOT(updateButtons()) ); diff --git a/kbabel/kbabel/kbabel.cpp b/kbabel/kbabel/kbabel.cpp index 5dc2af55..2bf4b2a0 100644 --- a/kbabel/kbabel/kbabel.cpp +++ b/kbabel/kbabel/kbabel.cpp @@ -611,7 +611,7 @@ void KBabelMW::setupActions() a_recentprojects = new TDERecentFilesAction(i18n("Open &Recent"), 0, TQT_TQOBJECT(this), TQT_SLOT(projectOpenRecent(const KURL&)), actionCollection(), "recent_projects"); // the tools menu - action = new TDEAction(i18n("&Spell Check..."), "spellcheck", CTRL+Key_I + action = new TDEAction(i18n("&Spell Check..."), "tools-check-spelling", CTRL+Key_I , TQT_TQOBJECT(m_view), TQT_SLOT(spellcheckCommon()),actionCollection() ,"spellcheck_common"); action = new TDEAction(i18n("&Check All..."), "spellcheck_all", 0 diff --git a/kbabel/kbabel/spelldlg.cpp b/kbabel/kbabel/spelldlg.cpp index 62a88c8c..737cc91d 100644 --- a/kbabel/kbabel/spelldlg.cpp +++ b/kbabel/kbabel/spelldlg.cpp @@ -44,7 +44,7 @@ SpellDlg::SpellDlg(bool haveMarkedText,TQWidget *parent,const char *name) : KDialogBase(parent,name,true,i18n("Caption of dialog","Spelling") , Ok|Cancel) { - setButtonOK(KGuiItem(i18n("&Spell Check"),"spellcheck")); + setButtonOK(KGuiItem(i18n("&Spell Check"),"tools-check-spelling")); _mainWidget = new SpellDlgWidget(this); setMainWidget(_mainWidget); -- cgit v1.2.1