summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/KSysGuardApplet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/KSysGuardApplet.cpp')
-rw-r--r--ksysguard/gui/KSysGuardApplet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksysguard/gui/KSysGuardApplet.cpp b/ksysguard/gui/KSysGuardApplet.cpp
index 517a2bbd5..e1c8db73e 100644
--- a/ksysguard/gui/KSysGuardApplet.cpp
+++ b/ksysguard/gui/KSysGuardApplet.cpp
@@ -156,7 +156,7 @@ void KSysGuardApplet::sensorDisplayModified( bool modified )
void KSysGuardApplet::layout()
{
- if ( orientation() == Qt::Horizontal ) {
+ if ( orientation() == TQt::Horizontal ) {
int h = height();
int w = (int) ( h * mSizeRatio + 0.5 );
for ( uint i = 0; i < mDockCount; ++i )
@@ -173,7 +173,7 @@ void KSysGuardApplet::layout()
int KSysGuardApplet::findDock( const TQPoint& point )
{
- if ( orientation() == Qt::Horizontal )
+ if ( orientation() == TQt::Horizontal )
return ( point.x() / (int) ( height() * mSizeRatio + 0.5 ) );
else
return ( point.y() / (int) ( width() * mSizeRatio + 0.5 ) );