summaryrefslogtreecommitdiffstats
path: root/kdeui/kdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeui/kdialog.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
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
Diffstat (limited to 'kdeui/kdialog.cpp')
-rw-r--r--kdeui/kdialog.cpp12
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();
}
}