From 0e5ef873f0394ebc87c08d030130cf4089cb1d42 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 22 Dec 2023 18:45:07 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682) --- ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp') 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; } -- cgit v1.2.1