diff options
Diffstat (limited to 'kdeui/kdialog.cpp')
-rw-r--r-- | kdeui/kdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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(); } } |