diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /klaptopdaemon/battery.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klaptopdaemon/battery.h')
-rw-r--r-- | klaptopdaemon/battery.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/klaptopdaemon/battery.h b/klaptopdaemon/battery.h index 3e484ef..a914b57 100644 --- a/klaptopdaemon/battery.h +++ b/klaptopdaemon/battery.h @@ -28,9 +28,9 @@ #define __BATTERYCONFIG_H__ #include <kcmodule.h> -#include <qstring.h> -#include <qpixmap.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqpixmap.h> +#include <tqptrlist.h> class QWidget; class QSpinBox; @@ -46,7 +46,7 @@ class BatteryConfig : public KCModule { Q_OBJECT public: - BatteryConfig( QWidget *parent=0, const char* name=0); + BatteryConfig( TQWidget *parent=0, const char* name=0); ~BatteryConfig( ); void save( void ); @@ -54,7 +54,7 @@ public: void load(bool useDefaults); void defaults(); - virtual QString quickHelp() const; + virtual TQString quickHelp() const; private slots: @@ -65,15 +65,15 @@ private slots: void BatteryStateUpdate(); private: - void timerEvent(QTimerEvent *); - void ConvertIcon(int percent, QPixmap &pm, QPixmap &result); + void timerEvent(TQTimerEvent *); + void ConvertIcon(int percent, TQPixmap &pm, TQPixmap &result); KConfig *config; - QSpinBox* editPoll; - QCheckBox* runMonitor; - QCheckBox* showLevel; - QCheckBox* notifyMe; - QCheckBox* blankSaver; + TQSpinBox* editPoll; + TQCheckBox* runMonitor; + TQCheckBox* showLevel; + TQCheckBox* notifyMe; + TQCheckBox* blankSaver; bool enablemonitor; bool showlevel; bool enablequitmenu; @@ -85,13 +85,13 @@ private: KIconButton *buttonNoBattery; KIconButton *buttonNoCharge; KIconButton *buttonCharge; - QString nobattery, nochargebattery, chargebattery; - QPushButton *startMonitor; + TQString nobattery, nochargebattery, chargebattery; + TQPushButton *startMonitor; bool apm; int poll_time; - QPtrList<QLabel> batt_label_1, batt_label_2, batt_label_3; - QPixmap battery_pm, battery_nopm; + TQPtrList<TQLabel> batt_label_1, batt_label_2, batt_label_3; + TQPixmap battery_pm, battery_nopm; KInstance *instance; }; |