summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-22 18:45:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-26 21:27:31 +0900
commit0e5ef873f0394ebc87c08d030130cf4089cb1d42 (patch)
tree39b0a54ef4dfc173c556d6e6c7ece5107aed464a /ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp
parentdcda00127ea03e99ca6253422624e2d3c2e62f3a (diff)
downloadtdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.tar.gz
tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp')
-rw-r--r--ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp b/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp
index 22894afea..4e32dc630 100644
--- a/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp
+++ b/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp
@@ -58,7 +58,7 @@ FancyPlotter::FancyPlotter( TQWidget* parent, const char* name,
* SensorDisplay::eventFilter. */
mPlotter->installEventFilter( this );
- setPlotterWidget( TQT_TQWIDGET(mPlotter) );
+ setPlotterWidget( mPlotter );
setModified( false );
}
@@ -242,8 +242,8 @@ bool FancyPlotter::addSensor( const TQString &hostName, const TQString &name,
.arg( sensors().at( mBeams - i - 1 )->name() );
}
- TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
- TQToolTip::add( TQT_TQWIDGET(mPlotter), tooltip );
+ TQToolTip::remove( mPlotter );
+ TQToolTip::add( mPlotter, tooltip );
return true;
}
@@ -267,8 +267,8 @@ bool FancyPlotter::removeSensor( uint pos )
.arg( sensors().at( mBeams - i - 1 )->name() );
}
- TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
- TQToolTip::add( TQT_TQWIDGET(mPlotter), tooltip );
+ TQToolTip::remove( mPlotter );
+ TQToolTip::add( mPlotter, tooltip );
return true;
}