author | harlekin <harlekin> | 2002-10-20 14:37:00 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-20 14:37:00 (UTC) |
commit | 9f442f5af601d1e15bb4d0509ed012e61609260d (patch) (unidiff) | |
tree | 068baed1f795a81f56341904b08c345f265561ec /core/settings/light-and-power/settings.h | |
parent | b915686dd38e99df72db332e1ea0b12a0895bdb3 (diff) | |
download | opie-9f442f5af601d1e15bb4d0509ed012e61609260d.zip opie-9f442f5af601d1e15bb4d0509ed012e61609260d.tar.gz opie-9f442f5af601d1e15bb4d0509ed012e61609260d.tar.bz2 |
reworked light and power, ac setting tab added and prepared for ipaq light sensor
Diffstat (limited to 'core/settings/light-and-power/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/light-and-power/settings.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/settings/light-and-power/settings.h b/core/settings/light-and-power/settings.h index 27c09a7..77f90d6 100644 --- a/core/settings/light-and-power/settings.h +++ b/core/settings/light-and-power/settings.h | |||
@@ -18,35 +18,37 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef SETTINGS_H | 20 | #ifndef SETTINGS_H |
21 | #define SETTINGS_H | 21 | #define SETTINGS_H |
22 | 22 | ||
23 | 23 | ||
24 | #include <qstrlist.h> | 24 | #include <qstrlist.h> |
25 | #include <qasciidict.h> | 25 | #include <qasciidict.h> |
26 | #include "lightsettingsbase.h" | 26 | #include "lightsettingsbase.h" |
27 | 27 | ||
28 | 28 | ||
29 | class LightSettings : public LightSettingsBase | 29 | class LightSettings : public LightSettingsBase |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | 32 | ||
33 | public: | 33 | public: |
34 | LightSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 34 | LightSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
35 | ~LightSettings(); | 35 | ~LightSettings(); |
36 | 36 | ||
37 | protected: | 37 | protected: |
38 | void accept(); | 38 | void accept(); |
39 | void reject(); | 39 | void reject(); |
40 | 40 | ||
41 | void done ( int r ); | 41 | void done ( int r ); |
42 | 42 | ||
43 | private slots: | 43 | private slots: |
44 | void applyBrightness(); | 44 | void applyBrightness(); |
45 | void slotSliderTicks( int steps ); | ||
45 | 46 | ||
46 | private: | 47 | private: |
47 | int initbright; | 48 | int initbright; |
49 | int initbright_ac; | ||
48 | }; | 50 | }; |
49 | 51 | ||
50 | 52 | ||
51 | #endif // SETTINGS_H | 53 | #endif // SETTINGS_H |
52 | 54 | ||