From 36b1e019b76f39cca8fc81f6d4df544f1c94c179 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:31 -0600 Subject: Rename obsolete tq methods to standard names --- kompare/libdialogpages/pagebase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kompare/libdialogpages/pagebase.cpp') 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 { -- cgit v1.2.1