summaryrefslogtreecommitdiffstats
path: root/kexi
diff options
context:
space:
mode:
Diffstat (limited to 'kexi')
-rw-r--r--kexi/formeditor/richtextdialog.cpp10
1 files changed, 5 insertions, 5 deletions
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"));