summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/multilineeditorimpl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:36:08 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-23 19:35:08 +0200
commit1c082a5ba751ddd4edd36bb0061462f9a999f88d (patch)
treee58e00b13f367e1eb92dc92b6dfbc69065226b80 /kdevdesigner/designer/multilineeditorimpl.cpp
parentc51913a8c885131a350d3fcda9715699b0467306 (diff)
downloadtdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.tar.gz
tdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit c3b301575a98e4c3505ad95534d6192b65539dab)
Diffstat (limited to 'kdevdesigner/designer/multilineeditorimpl.cpp')
-rw-r--r--kdevdesigner/designer/multilineeditorimpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/multilineeditorimpl.cpp b/kdevdesigner/designer/multilineeditorimpl.cpp
index 166ab877..46ec8097 100644
--- a/kdevdesigner/designer/multilineeditorimpl.cpp
+++ b/kdevdesigner/designer/multilineeditorimpl.cpp
@@ -231,8 +231,8 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
mlined = (TQTextEdit*)editWidget;
mlined->setReadOnly( TRUE );
- const TQMetaProperty *wordWrap = mlined->tqmetaObject()->property(
- mlined->tqmetaObject()->findProperty( "wordWrap", TRUE ), TRUE );
+ const TQMetaProperty *wordWrap = mlined->metaObject()->property(
+ mlined->metaObject()->findProperty( "wordWrap", TRUE ), TRUE );
oldWrapMode = 0;
oldWrapString = "NoWrap";
if ( wordWrap ) {
@@ -241,7 +241,7 @@ MultiLineEditor::MultiLineEditor( bool call_static, bool richtextMode, TQWidget
if ( oldWrapString != "NoWrap" )
doWrap = TRUE;
}
- textEdit->tqsetAlignment( mlined->tqalignment() );
+ textEdit->setAlignment( mlined->tqalignment() );
textEdit->setWordWrap( mlined->wordWrap() );
textEdit->setWrapColumnOrWidth( mlined->wrapColumnOrWidth() );
textEdit->setWrapPolicy( mlined->wrapPolicy() );