summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-27 18:17:54 (UTC)
committer harlekin <harlekin>2002-10-27 18:17:54 (UTC)
commit63894d36a26675655a4f74721ea1c19fb5e3e84c (patch) (unidiff)
tree84336f7750ee018d975b7a00255dcf4dcdc51843
parent17888d7ee97ec67c3f8c0f69fa30930b5a634ace (diff)
downloadopie-63894d36a26675655a4f74721ea1c19fb5e3e84c.zip
opie-63894d36a26675655a4f74721ea1c19fb5e3e84c.tar.gz
opie-63894d36a26675655a4f74721ea1c19fb5e3e84c.tar.bz2
other never handling
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/light.cpp16
-rw-r--r--core/settings/light-and-power/lightsettingsbase.ui14
2 files changed, 15 insertions, 15 deletions
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp
index d2618d9..bf94a21 100644
--- a/core/settings/light-and-power/light.cpp
+++ b/core/settings/light-and-power/light.cpp
@@ -80,3 +80,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
80 if ( config.readNumEntry("Dim",1) == 0 ) { 80 if ( config.readNumEntry("Dim",1) == 0 ) {
81 interval_dim->setSpecialValueText( tr("never") ); 81 interval_dim->setValue( 0 );
82 } else { 82 } else {
@@ -87,3 +87,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
87 if ( config.readNumEntry("LightOff",1) == 0 ) { 87 if ( config.readNumEntry("LightOff",1) == 0 ) {
88 interval_lightoff->setSpecialValueText( tr("never") ); 88 interval_lightoff->setValue( 0 );
89 } else { 89 } else {
@@ -95,4 +95,4 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
95 95
96 if ( config.readNumEntry("NoApm", 0) == 0 ) { 96 if ( config.readNumEntry("NoApm", 0 ) == 1 ) {
97 interval_suspend->setSpecialValueText( tr("never") ); 97 interval_suspend->setValue( 0 );
98 } else { 98 } else {
@@ -120,3 +120,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
120 if ( config.readNumEntry("Dim",1) == 0 ) { 120 if ( config.readNumEntry("Dim",1) == 0 ) {
121 interval_dim_ac_3->setSpecialValueText( tr("never") ); 121 interval_dim_ac_3->setValue( 0 );
122 } else { 122 } else {
@@ -127,3 +127,3 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
127 if ( config.readNumEntry("LightOff",1) == 0 ) { 127 if ( config.readNumEntry("LightOff",1) == 0 ) {
128 interval_lightoff_ac_3->setSpecialValueText( tr("never") ); 128 interval_lightoff_ac_3->setValue( 0 );
129 } else { 129 } else {
@@ -136,4 +136,4 @@ LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
136 } 136 }
137 if ( config.readNumEntry("NoApm", 0) == 0 ) { 137 if ( config.readNumEntry("NoApm", 1) == 1 ) {
138 interval_suspend_ac_3->setSpecialValueText( tr("never") ); 138 interval_suspend_ac_3->setValue( 0 );
139 } else { 139 } else {
diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui
index effa460..f41e5a6 100644
--- a/core/settings/light-and-power/lightsettingsbase.ui
+++ b/core/settings/light-and-power/lightsettingsbase.ui
@@ -13,3 +13,3 @@
13 <y>0</y> 13 <y>0</y>
14 <width>403</width> 14 <width>399</width>
15 <height>532</height> 15 <height>532</height>
@@ -152,3 +152,3 @@
152 <name>minValue</name> 152 <name>minValue</name>
153 <number>10</number> 153 <number>0</number>
154 </property> 154 </property>
@@ -212,3 +212,3 @@
212 <name>minValue</name> 212 <name>minValue</name>
213 <number>10</number> 213 <number>0</number>
214 </property> 214 </property>
@@ -243,3 +243,3 @@
243 <name>minValue</name> 243 <name>minValue</name>
244 <number>10</number> 244 <number>0</number>
245 </property> 245 </property>
@@ -595,3 +595,3 @@
595 <name>minValue</name> 595 <name>minValue</name>
596 <number>10</number> 596 <number>0</number>
597 </property> 597 </property>
@@ -644,3 +644,3 @@
644 <name>minValue</name> 644 <name>minValue</name>
645 <number>10</number> 645 <number>0</number>
646 </property> 646 </property>
@@ -686,3 +686,3 @@
686 <name>minValue</name> 686 <name>minValue</name>
687 <number>10</number> 687 <number>0</number>
688 </property> 688 </property>