summaryrefslogtreecommitdiffstats
path: root/src/hardware_cpu.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-16 23:01:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-16 23:01:29 +0000
commit4304e8d9dab8e20513e38e71b0debdf6937b630c (patch)
tree76a86f013a811449a5b5bfbbbb962e7db0bbcc6a /src/hardware_cpu.h
parentba24506b3bb46312d998468ad3c1a7f28058b2bd (diff)
downloadkpowersave-4304e8d9dab8e20513e38e71b0debdf6937b630c.tar.gz
kpowersave-4304e8d9dab8e20513e38e71b0debdf6937b630c.zip
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
Diffstat (limited to 'src/hardware_cpu.h')
-rw-r--r--src/hardware_cpu.h15
1 files changed, 8 insertions, 7 deletions
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 <qstring.h>
-#include <qobject.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqobject.h>
+#include <tqvaluelist.h>
// 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 <int> cpu_throttling;
+ TQValueList <int> 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 <int> cpufreq_speed;
+ TQValueList <int> 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 <int> cpufreq_max_speed;
+ TQValueList <int> cpufreq_max_speed;
//! if the machine support change CPU Freq in general
/*!