summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/KSysGuardApplet.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-12 10:17:40 +0900
committerMichele Calgaro <[email protected]>2023-07-13 16:25:00 +0900
commit76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8 (patch)
treed104cde3708dce85cfd6b3ed73cfbafa4ffb9e06 /ksysguard/gui/KSysGuardApplet.cpp
parenta5979a0e0f46e7da68d50d16919e46b89dc9e9e9 (diff)
downloadtdebase-76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8.tar.gz
tdebase-76fa61f90d0fdaacff018bccae25b3c2ef1b4ea8.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 22625693f124aae09863f4d33e30b625a96c3557)
Diffstat (limited to 'ksysguard/gui/KSysGuardApplet.cpp')
-rw-r--r--ksysguard/gui/KSysGuardApplet.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksysguard/gui/KSysGuardApplet.cpp b/ksysguard/gui/KSysGuardApplet.cpp
index ae31d4a60..517a2bbd5 100644
--- a/ksysguard/gui/KSysGuardApplet.cpp
+++ b/ksysguard/gui/KSysGuardApplet.cpp
@@ -142,7 +142,7 @@ void KSysGuardApplet::applySettings()
resizeDocks( mSettingsDlg->numDisplay() );
for ( uint i = 0; i < mDockCount; ++i )
- if ( !mDockList[ i ]->isA( TQFRAME_OBJECT_NAME_STRING ) )
+ if ( !mDockList[ i ]->isA( "TQFrame" ) )
((KSGRD::SensorDisplay*)mDockList[ i ])->setUpdateInterval( updateInterval() );
save();
@@ -201,7 +201,7 @@ void KSysGuardApplet::dropEvent( TQDropEvent *e )
return;
int dock = findDock( e->pos() );
- if ( mDockList[ dock ]->isA( TQFRAME_OBJECT_NAME_STRING ) ) {
+ if ( mDockList[ dock ]->isA( "TQFrame" ) ) {
if ( sensorType == "integer" || sensorType == "float" ) {
TDEPopupMenu popup;
TQWidget *wdg = 0;
@@ -246,7 +246,7 @@ void KSysGuardApplet::dropEvent( TQDropEvent *e )
}
}
- if ( !mDockList[ dock ]->isA( TQFRAME_OBJECT_NAME_STRING ) )
+ if ( !mDockList[ dock ]->isA( "TQFrame" ) )
((KSGRD::SensorDisplay*)mDockList[ dock ])->
addSensor( hostName, sensorName, sensorType, sensorDescr );
}
@@ -429,7 +429,7 @@ bool KSysGuardApplet::save()
TQStringList hosts;
uint i;
for ( i = 0; i < mDockCount; ++i )
- if ( !mDockList[ i ]->isA( TQFRAME_OBJECT_NAME_STRING ) )
+ if ( !mDockList[ i ]->isA( "TQFrame" ) )
((KSGRD::SensorDisplay*)mDockList[ i ])->hosts( hosts );
// save host information (name, shell, etc.)
@@ -449,7 +449,7 @@ bool KSysGuardApplet::save()
}
for ( i = 0; i < mDockCount; ++i )
- if ( !mDockList[ i ]->isA( TQFRAME_OBJECT_NAME_STRING ) ) {
+ if ( !mDockList[ i ]->isA( "TQFrame" ) ) {
TQDomElement element = doc.createElement( "display" );
ws.appendChild( element );
element.setAttribute( "dock", i );