From a562ef209160203063cdeceb425e9148baddbf7e 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 --- kdict/options.cpp | 2 +- kopete/kopete/chatwindow/krichtexteditpart.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kdict/options.cpp b/kdict/options.cpp index 4048badd..0d6b65cd 100644 --- a/kdict/options.cpp +++ b/kdict/options.cpp @@ -641,7 +641,7 @@ OptionsDialog::OptionsDialog(TQWidget *parent, const char *name) f_List->insertItem(new FontListItem(global->fontName(i), global->font(i))); //************ Layout *************************** - layoutTab = addPage(i18n("Layout"),i18n("Customize Output Format"), BarIcon("text_left", TDEIcon::SizeMedium )); + layoutTab = addPage(i18n("Layout"),i18n("Customize Output Format"), BarIcon("format-text-direction-ltr", TDEIcon::SizeMedium )); TQVBoxLayout *vbox = new TQVBoxLayout(layoutTab, 0, spacingHint()); diff --git a/kopete/kopete/chatwindow/krichtexteditpart.cpp b/kopete/kopete/chatwindow/krichtexteditpart.cpp index 6995f68a..19b67ff6 100644 --- a/kopete/kopete/chatwindow/krichtexteditpart.cpp +++ b/kopete/kopete/chatwindow/krichtexteditpart.cpp @@ -130,7 +130,7 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac ) connect( enableRichText, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotSetRichTextEnabled(bool) ) ); - checkSpelling = new TDEAction( i18n("Check &Spelling"), "spellcheck", 0, + checkSpelling = new TDEAction( i18n("Check &Spelling"), "tools-check-spelling", 0, TQT_TQOBJECT(editor), TQT_SLOT( checkSpelling() ), ac, "check_spelling" ); //Fg Color @@ -156,17 +156,17 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac ) this, TQT_SLOT( setFontSize(int) ) ); //Formatting - action_bold = new TDEToggleAction( i18n("&Bold"), "text_bold", CTRL+Key_B, + action_bold = new TDEToggleAction( i18n("&Bold"), "format-text-bold", CTRL+Key_B, ac, "format_bold" ); connect( action_bold, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( setBold(bool) ) ); - action_italic = new TDEToggleAction( i18n("&Italic"), "text_italic", CTRL+Key_I, + action_italic = new TDEToggleAction( i18n("&Italic"), "format-text-italic", CTRL+Key_I, ac, "format_italic" ); connect( action_italic, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( setItalic(bool) ) ); - action_underline = new TDEToggleAction( i18n("&Underline"), "text_under", CTRL+Key_U, + action_underline = new TDEToggleAction( i18n("&Underline"), "format-text-underline", CTRL+Key_U, ac, "format_underline" ); connect( action_underline, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( setUnderline(bool) ) ); @@ -180,7 +180,7 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac ) updateFont(); //Alignment - action_align_left = new TDEToggleAction( i18n("Align &Left"), "text_left", 0, + action_align_left = new TDEToggleAction( i18n("Align &Left"), "format-text-direction-ltr", 0, ac, "format_align_left" ); connect( action_align_left, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( setAlignLeft(bool) ) ); @@ -190,7 +190,7 @@ void KopeteRichTextEditPart::createActions( TDEActionCollection *ac ) connect( action_align_center, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( setAlignCenter(bool) ) ); - action_align_right = new TDEToggleAction( i18n("Align &Right"), "text_right", 0, + action_align_right = new TDEToggleAction( i18n("Align &Right"), "format-text-direction-rtl", 0, ac, "format_align_right" ); connect( action_align_right, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( setAlignRight(bool) ) ); -- cgit v1.2.1