From 33c7d159890b81da8f44ee330a349e3abd553bec Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:23:23 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro --- ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp | 2 +- ksysguard/gui/ksgrd/SensorAgent.h | 2 +- ksysguard/gui/ksgrd/SensorManager.h | 2 +- ksysguard/gui/ksgrd/StyleEngine.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ksysguard') diff --git a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp index ef53bab75..9d388df63 100644 --- a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp +++ b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp @@ -531,7 +531,7 @@ TQValueList< TQStringList > FancyPlotterSettings::sensors() const entry << it.current()->text( 2 ); entry << it.current()->text( 3 ); entry << it.current()->text( 4 ); - QRgb rgb = it.current()->pixmap( 2 )->convertToImage().pixel( 1, 1 ); + TQRgb rgb = it.current()->pixmap( 2 )->convertToImage().pixel( 1, 1 ); TQColor color( tqRed( rgb ), tqGreen( rgb ), tqBlue( rgb ) ); entry << ( color.name() ); diff --git a/ksysguard/gui/ksgrd/SensorAgent.h b/ksysguard/gui/ksgrd/SensorAgent.h index b9871f9f0..14b9bc014 100644 --- a/ksysguard/gui/ksgrd/SensorAgent.h +++ b/ksysguard/gui/ksgrd/SensorAgent.h @@ -43,7 +43,7 @@ class SensorRequest; ksysguardd. The current implementation only allowes one pending requests. Incoming requests are queued in an input FIFO. */ -class KDE_EXPORT SensorAgent : public QObject +class KDE_EXPORT SensorAgent : public TQObject { TQ_OBJECT diff --git a/ksysguard/gui/ksgrd/SensorManager.h b/ksysguard/gui/ksgrd/SensorManager.h index 829eea5d1..906358c0d 100644 --- a/ksysguard/gui/ksgrd/SensorManager.h +++ b/ksysguard/gui/ksgrd/SensorManager.h @@ -43,7 +43,7 @@ class SensorManagerIterator; connection yet or the hostname is empty, a dialog will be shown to enter the connections details. */ -class KDE_EXPORT SensorManager : public QObject +class KDE_EXPORT SensorManager : public TQObject { TQ_OBJECT diff --git a/ksysguard/gui/ksgrd/StyleEngine.h b/ksysguard/gui/ksgrd/StyleEngine.h index 4d07a60c0..15a968eb6 100644 --- a/ksysguard/gui/ksgrd/StyleEngine.h +++ b/ksysguard/gui/ksgrd/StyleEngine.h @@ -38,7 +38,7 @@ class StyleSettings; namespace KSGRD { -class KDE_EXPORT StyleEngine : public QObject +class KDE_EXPORT StyleEngine : public TQObject { TQ_OBJECT -- cgit v1.2.1