summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/richtextdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kexi/formeditor/richtextdialog.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kexi/formeditor/richtextdialog.cpp')
-rw-r--r--kexi/formeditor/richtextdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/formeditor/richtextdialog.cpp b/kexi/formeditor/richtextdialog.cpp
index 168102b0..e3b73975 100644
--- a/kexi/formeditor/richtextdialog.cpp
+++ b/kexi/formeditor/richtextdialog.cpp
@@ -146,10 +146,10 @@ RichTextDialog::buttonToggled(int id)
if(!isOn) break;
switch(id)
{
- case TBLeft: m_edit->tqsetAlignment(TQt::AlignLeft); break;
- case TBCenter: m_edit->tqsetAlignment(TQt::AlignCenter); break;
- case TBRight: m_edit->tqsetAlignment(TQt::AlignRight); break;
- case TBJustify: m_edit->tqsetAlignment(TQt::AlignJustify); break;
+ case TBLeft: m_edit->setAlignment(TQt::AlignLeft); break;
+ case TBCenter: m_edit->setAlignment(TQt::AlignCenter); break;
+ case TBRight: m_edit->setAlignment(TQt::AlignRight); break;
+ case TBJustify: m_edit->setAlignment(TQt::AlignJustify); break;
default: break;
}
}