From 285ed33941fa09ed2b1f0d18d74117b73f5dfefd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Oct 2014 00:15:30 -0500 Subject: Bring centrejust, leftjust, rightjust, text_left, text_right, text_bold, text_italic, text_under, text_strike, and spellcheck icons into XDG compliance --- kexi/formeditor/richtextdialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kexi') diff --git a/kexi/formeditor/richtextdialog.cpp b/kexi/formeditor/richtextdialog.cpp index 9fde7052..c2f47c6c 100644 --- a/kexi/formeditor/richtextdialog.cpp +++ b/kexi/formeditor/richtextdialog.cpp @@ -54,9 +54,9 @@ RichTextDialog::RichTextDialog(TQWidget *parent, const TQString &text) m_toolbar->insertWidget(TBColor, 30, m_colCombo); connect(m_colCombo, TQT_SIGNAL(activated(const TQColor&)), this, TQT_SLOT(changeColor(const TQColor&))); - m_toolbar->insertButton("text_bold", TBBold, true, i18n("Bold")); - m_toolbar->insertButton("text_italic", TBItalic, true, i18n("Italic")); - m_toolbar->insertButton("text_under", TBUnder, true, i18n("Underline")); + m_toolbar->insertButton("format-text-bold", TBBold, true, i18n("Bold")); + m_toolbar->insertButton("format-text-italic", TBItalic, true, i18n("Italic")); + m_toolbar->insertButton("format-text-underline", TBUnder, true, i18n("Underline")); m_toolbar->setToggle(TBBold, true); m_toolbar->setToggle(TBItalic, true); m_toolbar->setToggle(TBUnder, true); @@ -69,13 +69,13 @@ RichTextDialog::RichTextDialog(TQWidget *parent, const TQString &text) m_toolbar->insertSeparator(); TDEToolBarRadioGroup *group = new TDEToolBarRadioGroup(m_toolbar); - m_toolbar->insertButton("text_left", TBLeft, true, i18n("Left Align")); + m_toolbar->insertButton("format-text-direction-ltr", TBLeft, true, i18n("Left Align")); m_toolbar->setToggle(TBLeft, true); group->addButton(TBLeft); m_toolbar->insertButton("text_center", TBCenter, true, i18n("Centered")); m_toolbar->setToggle(TBCenter, true); group->addButton(TBCenter); - m_toolbar->insertButton("text_right", TBRight, true, i18n("Right Align")); + m_toolbar->insertButton("format-text-direction-rtl", TBRight, true, i18n("Right Align")); m_toolbar->setToggle(TBRight, true); group->addButton(TBRight); m_toolbar->insertButton("text_block", TBJustify, true, i18n("Justified")); -- cgit v1.2.1