From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdeui/kdialog.cpp') diff --git a/kdeui/kdialog.cpp b/kdeui/kdialog.cpp index 5963a415d..054144351 100644 --- a/kdeui/kdialog.cpp +++ b/kdeui/kdialog.cpp @@ -132,9 +132,9 @@ void KDialog::setPlainCaption( const TQString &caption ) void KDialog::resizeLayout( TQWidget *w, int margin, int spacing ) { - if( w->layout() ) + if( w->tqlayout() ) { - resizeLayout( w->layout(), margin, spacing ); + resizeLayout( w->tqlayout(), margin, spacing ); } if( w->children() ) @@ -162,10 +162,10 @@ void KDialog::resizeLayout( TQLayoutItem *lay, int margin, int spacing ) resizeLayout( child, margin, spacing ); ++it; } - if( lay->layout() ) + if( lay->tqlayout() ) { - lay->layout()->setMargin( margin ); - lay->layout()->setSpacing( spacing ); + lay->tqlayout()->setMargin( margin ); + lay->tqlayout()->setSpacing( spacing ); } } @@ -188,7 +188,7 @@ static TQRect screenRect( TQWidget *w, int screen ) } return desktop->availableGeometry(screen); } else { - return desktop->geometry(); + return desktop->tqgeometry(); } } -- cgit v1.2.3