summaryrefslogtreecommitdiffstats
path: root/src/cpufreqd/cpufreqd.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 20:48:23 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 20:48:23 +0000
commit383adc283801b6238d8acfc750890613a63f8060 (patch)
treeaf3a65389067c05263db2ef4551a541501422998 /src/cpufreqd/cpufreqd.h
parentda7847adb43726079c7a4be1f06acbebe0bdde57 (diff)
downloadkima-383adc283801b6238d8acfc750890613a63f8060.tar.gz
kima-383adc283801b6238d8acfc750890613a63f8060.zip
TQt4 port kima
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1239290 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/cpufreqd/cpufreqd.h')
-rw-r--r--src/cpufreqd/cpufreqd.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/cpufreqd/cpufreqd.h b/src/cpufreqd/cpufreqd.h
index 42e4b0e..dc0a67b 100644
--- a/src/cpufreqd/cpufreqd.h
+++ b/src/cpufreqd/cpufreqd.h
@@ -22,25 +22,26 @@
#include "cpufreqdconnection.h"
#include "cpufreqdprofile.h"
-#include <qaction.h>
-#include <qobject.h>
-#include <qpopupmenu.h>
-#include <qstring.h>
-#include <qsignalmapper.h>
-#include <qvaluevector.h>
-#include <qptrlist.h>
+#include <tqaction.h>
+#include <tqobject.h>
+#include <tqpopupmenu.h>
+#include <tqstring.h>
+#include <tqsignalmapper.h>
+#include <tqvaluevector.h>
+#include <tqptrlist.h>
#include <stdint.h>
-class CPUFreqd: public QObject {
+class CPUFreqd: public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
CPUFreqd();
virtual ~CPUFreqd();
bool enabled() const;
- QValueVector<CPUFreqdProfile> & getProfiles(bool reconnect = false);
- QPopupMenu* menu();
+ TQValueVector<CPUFreqdProfile> & getProfiles(bool reconnect = false);
+ TQPopupMenu* menu();
public slots:
void setManual();
@@ -49,12 +50,12 @@ class CPUFreqd: public QObject {
private:
CPUFreqdConnection m_conn;
- QValueVector<CPUFreqdProfile> m_profiles;
- QPopupMenu *m_menu;
- QSignalMapper *m_mapper;
- QAction* m_dynamic;
- QActionGroup* m_items;
- QPtrList<QAction>* m_actions;
+ TQValueVector<CPUFreqdProfile> m_profiles;
+ TQPopupMenu *m_menu;
+ TQSignalMapper *m_mapper;
+ TQAction* m_dynamic;
+ TQActionGroup* m_items;
+ TQPtrList<TQAction>* m_actions;
void setMode(uint32_t mode);