diff options
Diffstat (limited to 'src/cpufreqd/cpufreqd.h')
-rw-r--r-- | src/cpufreqd/cpufreqd.h | 33 |
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); |