summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/richtextdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kexi/formeditor/richtextdialog.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kexi/formeditor/richtextdialog.cpp')
-rw-r--r--kexi/formeditor/richtextdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/richtextdialog.cpp b/kexi/formeditor/richtextdialog.cpp
index 168102b0..9c4a4112 100644
--- a/kexi/formeditor/richtextdialog.cpp
+++ b/kexi/formeditor/richtextdialog.cpp
@@ -16,7 +16,7 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
-#include <tqlayout.h>
+#include <layout.h>
#include <ktoolbar.h>
#include <kfontcombo.h>
@@ -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;
}
}
@@ -168,7 +168,7 @@ RichTextDialog::cursorPositionChanged(int, int)
m_toolbar->setButton(TBUnder, m_edit->underline());
int id = 0;
- switch(m_edit->tqalignment())
+ switch(m_edit->alignment())
{
case TQt::AlignLeft: id = TBLeft; break;
case TQt::AlignCenter: id = TBCenter; break;