summaryrefslogtreecommitdiffstats
path: root/kdat/InfoShellWidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kdat/InfoShellWidget.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/InfoShellWidget.cpp')
-rw-r--r--kdat/InfoShellWidget.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/kdat/InfoShellWidget.cpp b/kdat/InfoShellWidget.cpp
index fc96e8c..bda2be9 100644
--- a/kdat/InfoShellWidget.cpp
+++ b/kdat/InfoShellWidget.cpp
@@ -23,8 +23,8 @@
#include "InfoShellWidget.moc"
-InfoShellWidget::InfoShellWidget( TQWidget* parent, const char* name )
- : TQWidget( parent, name )
+InfoShellWidget::InfoShellWidget( TQWidget* tqparent, const char* name )
+ : TQWidget( tqparent, name )
{
}
@@ -34,8 +34,9 @@ InfoShellWidget::~InfoShellWidget()
void InfoShellWidget::resizeEvent( TQResizeEvent* )
{
- if ( children() ) {
- TQObjectListIt i( *children() );
+ TQObjectList clo = childrenListObject();
+ if ( !clo.isEmpty() ) {
+ TQObjectListIt i( clo );
for ( ; i.current(); ++i ) {
((TQWidget*)i.current())->resize( size() );
}