summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/KSysGuardApplet.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /ksysguard/gui/KSysGuardApplet.cc
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/KSysGuardApplet.cc')
-rw-r--r--ksysguard/gui/KSysGuardApplet.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksysguard/gui/KSysGuardApplet.cc b/ksysguard/gui/KSysGuardApplet.cc
index 245600cb6..4d0d3a0c7 100644
--- a/ksysguard/gui/KSysGuardApplet.cc
+++ b/ksysguard/gui/KSysGuardApplet.cc
@@ -110,7 +110,7 @@ int KSysGuardApplet::heightForWidth( int width ) const
void KSysGuardApplet::resizeEvent( TQResizeEvent* )
{
- layout();
+ tqlayout();
}
void KSysGuardApplet::preferences()
@@ -154,7 +154,7 @@ void KSysGuardApplet::sensorDisplayModified( bool modified )
save();
}
-void KSysGuardApplet::layout()
+void KSysGuardApplet::tqlayout()
{
if ( orientation() == Horizontal ) {
int h = height();
@@ -230,7 +230,7 @@ void KSysGuardApplet::dropEvent( TQDropEvent *e )
if ( wdg ) {
delete mDockList[ dock ];
mDockList[ dock ] = wdg;
- layout();
+ tqlayout();
connect( wdg, TQT_SIGNAL( modified( bool ) ),
TQT_SLOT( sensorDisplayModified( bool ) ) );
@@ -242,7 +242,7 @@ void KSysGuardApplet::dropEvent( TQDropEvent *e )
i18n( "The KSysGuard applet does not support displaying of "
"this type of sensor. Please choose another sensor." ) );
- layout();
+ tqlayout();
}
}
@@ -487,7 +487,7 @@ void KSysGuardApplet::addEmptyDisplay( TQWidget **dock, uint pos )
TQToolTip::add( dock[ pos ],
i18n( "Drag sensors from the KDE System Guard into this cell." ) );
- layout();
+ tqlayout();
if ( isVisible() )
dock[ pos ]->show();
}