summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-12 10:17:40 +0900
committerMichele Calgaro <[email protected]>2023-07-13 10:08:05 +0900
commit22625693f124aae09863f4d33e30b625a96c3557 (patch)
treef8c5e348d163222d25d1e0de896910bb06ce7aed /ksysguard/gui
parent0d30cdb3832749dc273f6d7bb82859937a462b43 (diff)
downloadtdebase-22625693f124aae09863f4d33e30b625a96c3557.tar.gz
tdebase-22625693f124aae09863f4d33e30b625a96c3557.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]>
Diffstat (limited to 'ksysguard/gui')
-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 );