-rw-r--r-- | core/settings/light-and-power/light.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp index fbea905..ded358c 100644 --- a/core/settings/light-and-power/light.cpp +++ b/core/settings/light-and-power/light.cpp | |||
@@ -34,32 +34,33 @@ | |||
34 | #include <qtabwidget.h> | 34 | #include <qtabwidget.h> |
35 | #include <qslider.h> | 35 | #include <qslider.h> |
36 | #include <qfile.h> | 36 | #include <qfile.h> |
37 | #include <qtextstream.h> | 37 | #include <qtextstream.h> |
38 | #include <qdatastream.h> | 38 | #include <qdatastream.h> |
39 | #include <qmessagebox.h> | 39 | #include <qmessagebox.h> |
40 | #include <qcombobox.h> | 40 | #include <qcombobox.h> |
41 | #include <qspinbox.h> | 41 | #include <qspinbox.h> |
42 | #include <qlistbox.h> | 42 | #include <qlistbox.h> |
43 | #include <qdir.h> | 43 | #include <qdir.h> |
44 | #if QT_VERSION >= 300 | 44 | #if QT_VERSION >= 300 |
45 | #include <qstylefactory.h> | 45 | #include <qstylefactory.h> |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #include <opie/odevice.h> | 48 | #include <opie/odevice.h> |
49 | 49 | ||
50 | using namespace Opie; | ||
50 | 51 | ||
51 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags fl ) | 52 | LightSettings::LightSettings( QWidget* parent, const char* name, WFlags fl ) |
52 | : LightSettingsBase( parent, name, TRUE, fl ) | 53 | : LightSettingsBase( parent, name, TRUE, fl ) |
53 | { | 54 | { |
54 | // Not supported | 55 | // Not supported |
55 | auto_brightness->hide(); | 56 | auto_brightness->hide(); |
56 | 57 | ||
57 | Config config( "qpe" ); | 58 | Config config( "qpe" ); |
58 | 59 | ||
59 | config.setGroup( "Screensaver" ); | 60 | config.setGroup( "Screensaver" ); |
60 | 61 | ||
61 | int interval; | 62 | int interval; |
62 | interval = config.readNumEntry( "Interval_Dim", 20 ); | 63 | interval = config.readNumEntry( "Interval_Dim", 20 ); |
63 | interval_dim->setValue( interval ); | 64 | interval_dim->setValue( interval ); |
64 | interval = config.readNumEntry( "Interval_LightOff", 30 ); | 65 | interval = config.readNumEntry( "Interval_LightOff", 30 ); |
65 | interval_lightoff->setValue( interval ); | 66 | interval_lightoff->setValue( interval ); |