summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/richtexteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/richtexteditor.cpp')
-rw-r--r--kommander/widgets/richtexteditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/widgets/richtexteditor.cpp b/kommander/widgets/richtexteditor.cpp
index 5c6c530c..0aebf718 100644
--- a/kommander/widgets/richtexteditor.cpp
+++ b/kommander/widgets/richtexteditor.cpp
@@ -182,11 +182,11 @@ void RichTextEditor::textAlign(int a_id)
{
TQToolButton *b = (TQToolButton *)m_alignGroup->find(a_id);
if(b == m_buttonTextLeft)
- m_textedit->tqsetAlignment(TQt::AlignLeft);
+ m_textedit->setAlignment(TQt::AlignLeft);
else if(b == m_buttonTextCenter)
- m_textedit->tqsetAlignment(TQt::AlignCenter);
+ m_textedit->setAlignment(TQt::AlignCenter);
else if(b == m_buttonTextRight)
- m_textedit->tqsetAlignment(TQt::AlignRight);
+ m_textedit->setAlignment(TQt::AlignRight);
}
void RichTextEditor::fontChanged(const TQFont &a_font)