summaryrefslogtreecommitdiffstats
path: root/kivio/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/plugins')
-rw-r--r--kivio/plugins/kiviotexttool/stenciltexteditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp
index 1f2c7969..53708a64 100644
--- a/kivio/plugins/kiviotexttool/stenciltexteditor.cpp
+++ b/kivio/plugins/kiviotexttool/stenciltexteditor.cpp
@@ -43,15 +43,15 @@ StencilTextEditor::StencilTextEditor(const TQString& caption, TQWidget *parent,
m_mainWidget = new StencilTextEditorUI(this);
setMainWidget(m_mainWidget);
- m_mainWidget->m_boldButton->setIconSet(SmallIconSet("text_bold", 16));
- m_mainWidget->m_italicsButton->setIconSet(SmallIconSet("text_italic", 16));
- m_mainWidget->m_underLineButton->setIconSet(SmallIconSet("text_under", 16));
+ m_mainWidget->m_boldButton->setIconSet(SmallIconSet("format-text-bold", 16));
+ m_mainWidget->m_italicsButton->setIconSet(SmallIconSet("format-text-italic", 16));
+ m_mainWidget->m_underLineButton->setIconSet(SmallIconSet("format-text-underline", 16));
TQPopupMenu* menu = new TQPopupMenu(m_mainWidget->m_hAlignButton, "hAlignMenu");
menu->setCheckable(true);
- menu->insertItem(SmallIconSet("text_left", 16), i18n("Align Left"), TQt::AlignLeft);
+ menu->insertItem(SmallIconSet("format-text-direction-ltr", 16), i18n("Align Left"), TQt::AlignLeft);
menu->insertItem(SmallIconSet("text_center", 16), i18n("Align Center"), TQt::AlignHCenter);
- menu->insertItem(SmallIconSet("text_right", 16), i18n("Align Right"), TQt::AlignRight);
+ menu->insertItem(SmallIconSet("format-text-direction-rtl", 16), i18n("Align Right"), TQt::AlignRight);
m_mainWidget->m_hAlignButton->setPopup(menu);
connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setHorizontalAlign(int)));
connect(m_mainWidget->m_hAlignButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(showHAlignPopup()));