summaryrefslogtreecommitdiffstats
path: root/kompare/libdialogpages/pagebase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
commit36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch)
tree3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /kompare/libdialogpages/pagebase.cpp
parentf78838f2f736acc2b235d8b680f3379a07a6d372 (diff)
downloadtdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz
tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kompare/libdialogpages/pagebase.cpp')
-rw-r--r--kompare/libdialogpages/pagebase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kompare/libdialogpages/pagebase.cpp b/kompare/libdialogpages/pagebase.cpp
index 43d6e933..3e9708cf 100644
--- a/kompare/libdialogpages/pagebase.cpp
+++ b/kompare/libdialogpages/pagebase.cpp
@@ -38,7 +38,7 @@ TQSize PageBase::sizeHintForWidget( TQWidget* widget )
//
// The size is computed by adding the sizeHint().height() of all
// widget children and taking the width of the widest child and adding
- // tqlayout()->margin() and tqlayout()->spacing()
+ // layout()->margin() and layout()->spacing()
//
// this code in this method has been ripped out of a file in kbabel
@@ -73,7 +73,7 @@ TQSize PageBase::sizeHintForWidget( TQWidget* widget )
if( numChild > 0 )
{
size.setHeight( size.height() + widget->tqlayout()->spacing()*(numChild-1) );
- size += TQSize( widget->tqlayout()->margin()*2, widget->tqlayout()->margin()*2 + 1 );
+ size += TQSize( widget->layout()->margin()*2, widget->layout()->margin()*2 + 1 );
}
else
{