From 4304e8d9dab8e20513e38e71b0debdf6937b630c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 16 Apr 2011 23:01:29 +0000 Subject: Finish TQt4 port of kpowersave This enables both Qt3 and Qt4 builds git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1228282 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/hardware_cpu.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/hardware_cpu.h') diff --git a/src/hardware_cpu.h b/src/hardware_cpu.h index 0c41237..705b90b 100644 --- a/src/hardware_cpu.h +++ b/src/hardware_cpu.h @@ -39,16 +39,17 @@ #endif // QT Headers -#include -#include -#include +#include +#include +#include // own headers #include "kpowersave_debug.h" -class CPUInfo : public QObject{ +class CPUInfo : public TQObject{ Q_OBJECT + TQ_OBJECT private: @@ -63,21 +64,21 @@ public: * This interge value represent the current throttling step of the CPU in percent * \li a value >= 0 in % */ - QValueList cpu_throttling; + TQValueList cpu_throttling; //! represent the current CPU speeds /*! * This integer value represent the current speed/frequency of the CPUs in Mhz * \li a value > 0 in Mhz */ - QValueList cpufreq_speed; + TQValueList cpufreq_speed; //! represent the max. CPU speeds /*! * This integer value represent the max speed/frequency of the CPUs in Mhz * \li a value > 0 in Mhz */ - QValueList cpufreq_max_speed; + TQValueList cpufreq_max_speed; //! if the machine support change CPU Freq in general /*! -- cgit v1.2.1