summaryrefslogtreecommitdiffstats
path: root/kivio
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-14 00:15:30 -0500
committerTimothy Pearson <[email protected]>2014-10-14 00:15:30 -0500
commit285ed33941fa09ed2b1f0d18d74117b73f5dfefd (patch)
treeb9b2b2cf292658de7e1d19246033609357bd918b /kivio
parent5844cd0f1e79f8ccca3d1536a7cc96c4af81d293 (diff)
downloadkoffice-285ed33941fa09ed2b1f0d18d74117b73f5dfefd.tar.gz
koffice-285ed33941fa09ed2b1f0d18d74117b73f5dfefd.zip
Bring centrejust, leftjust, rightjust, text_left, text_right, text_bold, text_italic, text_under, text_strike, and spellcheck icons into XDG compliance
Diffstat (limited to 'kivio')
-rw-r--r--kivio/kiviopart/kivio_view.cpp10
-rw-r--r--kivio/plugins/kiviotexttool/stenciltexteditor.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/kivio/kiviopart/kivio_view.cpp b/kivio/kiviopart/kivio_view.cpp
index dfc3e2ff..c34022d8 100644
--- a/kivio/kiviopart/kivio_view.cpp
+++ b/kivio/kiviopart/kivio_view.cpp
@@ -433,16 +433,16 @@ void KivioView::setupActions()
m_setTextColor = new TTDESelectColorAction( i18n("Text Color"), TTDESelectColorAction::TextColor, actionCollection(), "setTextColor" );
connect( m_setTextColor, TQT_SIGNAL(activated()), TQT_SLOT(setTextColor()) );
- m_setBold = new TDEToggleAction( i18n("Toggle Bold Text"), "text_bold", 0, actionCollection(), "setFontBold" );
+ m_setBold = new TDEToggleAction( i18n("Toggle Bold Text"), "format-text-bold", 0, actionCollection(), "setFontBold" );
connect( m_setBold, TQT_SIGNAL(toggled(bool)), TQT_SLOT(toggleFontBold(bool)) );
- m_setItalics = new TDEToggleAction( i18n("Toggle Italics Text"), "text_italic", 0, actionCollection(), "setFontItalics" );
+ m_setItalics = new TDEToggleAction( i18n("Toggle Italics Text"), "format-text-italic", 0, actionCollection(), "setFontItalics" );
connect( m_setItalics, TQT_SIGNAL(toggled(bool)), TQT_SLOT(toggleFontItalics(bool)) );
- m_setUnderline = new TDEToggleAction( i18n("Toggle Underline Text"), "text_under", 0, actionCollection(), "setFontUnderline" );
+ m_setUnderline = new TDEToggleAction( i18n("Toggle Underline Text"), "format-text-underline", 0, actionCollection(), "setFontUnderline" );
connect( m_setUnderline, TQT_SIGNAL(toggled(bool)), TQT_SLOT(toggleFontUnderline(bool)));
- m_textAlignLeft = new TDEToggleAction( i18n( "Align &Left" ), "text_left", CTRL + Key_L,
+ m_textAlignLeft = new TDEToggleAction( i18n( "Align &Left" ), "format-text-direction-ltr", CTRL + Key_L,
TQT_TQOBJECT(this), TQT_SLOT( textAlignLeft() ),
actionCollection(), "textAlignLeft" );
m_textAlignLeft->setExclusiveGroup( "align" );
@@ -451,7 +451,7 @@ void KivioView::setupActions()
actionCollection(), "textAlignCenter" );
m_textAlignCenter->setExclusiveGroup( "align" );
m_textAlignCenter->setChecked( TRUE );
- m_textAlignRight = new TDEToggleAction( i18n( "Align &Right" ), "text_right", CTRL + ALT + Key_R,
+ m_textAlignRight = new TDEToggleAction( i18n( "Align &Right" ), "format-text-direction-rtl", CTRL + ALT + Key_R,
TQT_TQOBJECT(this), TQT_SLOT( textAlignRight() ),
actionCollection(), "textAlignRight" );
m_textAlignRight->setExclusiveGroup( "align" );
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()));