summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/buttons.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /klaptopdaemon/buttons.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-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/buttons.h')
-rw-r--r--klaptopdaemon/buttons.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/klaptopdaemon/buttons.h b/klaptopdaemon/buttons.h
index 5abd088..f142a58 100644
--- a/klaptopdaemon/buttons.h
+++ b/klaptopdaemon/buttons.h
@@ -26,7 +26,7 @@
#define __BUTTONSCONFIG_H__
#include <kcmodule.h>
-#include <qstring.h>
+#include <tqstring.h>
class QWidget;
class QSlider;
@@ -41,14 +41,14 @@ class ButtonsConfig : public KCModule
{
Q_OBJECT
public:
- ButtonsConfig( QWidget *parent=0, const char* name=0);
+ ButtonsConfig( TQWidget *parent=0, const char* name=0);
~ButtonsConfig();
void save( void );
void load();
void load(bool useDefaults);
void defaults();
- virtual QString quickHelp() const;
+ virtual TQString quickHelp() const;
private slots:
@@ -61,28 +61,28 @@ private:
int getLid();
void setPower( int, int );
- QButtonGroup *lidBox;
- QRadioButton *lidStandby, *lidSuspend, *lidOff, *lidHibernate, *lidShutdown, *lidLogout;
- QCheckBox *lidBrightness;
- QSlider *lidValBrightness;
- QCheckBox *lidThrottle;
+ TQButtonGroup *lidBox;
+ TQRadioButton *lidStandby, *lidSuspend, *lidOff, *lidHibernate, *lidShutdown, *lidLogout;
+ TQCheckBox *lidBrightness;
+ TQSlider *lidValBrightness;
+ TQCheckBox *lidThrottle;
KComboBox *lidValThrottle;
- QCheckBox *lidPerformance;
+ TQCheckBox *lidPerformance;
KComboBox *lidValPerformance;
- QButtonGroup *powerBox;
- QRadioButton *powerStandby, *powerSuspend, *powerOff, *powerHibernate, *powerShutdown, *powerLogout;
- QCheckBox *powerBrightness;
- QSlider *powerValBrightness;
- QCheckBox *powerThrottle;
+ TQButtonGroup *powerBox;
+ TQRadioButton *powerStandby, *powerSuspend, *powerOff, *powerHibernate, *powerShutdown, *powerLogout;
+ TQCheckBox *powerBrightness;
+ TQSlider *powerValBrightness;
+ TQCheckBox *powerThrottle;
KComboBox *powerValThrottle;
- QCheckBox *powerPerformance;
+ TQCheckBox *powerPerformance;
KComboBox *powerValPerformance;
int power_bright_val, lid_bright_val;
bool lid_bright_enabled, power_bright_enabled;
bool lid_throttle_enabled, power_throttle_enabled;
- QString lid_throttle_val, power_throttle_val;
+ TQString lid_throttle_val, power_throttle_val;
bool lid_performance_enabled, power_performance_enabled;
- QString lid_performance_val, power_performance_val;
+ TQString lid_performance_val, power_performance_val;
KConfig *config;
int power, lid, apm;