summaryrefslogtreecommitdiff
path: root/core/settings/light-and-power
authorzecke <zecke>2004-03-14 18:42:05 (UTC)
committer zecke <zecke>2004-03-14 18:42:05 (UTC)
commit617e15d4cdbe7bc962388f9710bce834182bee24 (patch) (side-by-side diff)
tree2c714b53d47c7421abc424b68c692dbe005bf598 /core/settings/light-and-power
parenta3726e8ae25805d215d0fd5c249345aad9952ef3 (diff)
downloadopie-617e15d4cdbe7bc962388f9710bce834182bee24.zip
opie-617e15d4cdbe7bc962388f9710bce834182bee24.tar.gz
opie-617e15d4cdbe7bc962388f9710bce834182bee24.tar.bz2
ODP change
Diffstat (limited to 'core/settings/light-and-power') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/config.in2
-rw-r--r--core/settings/light-and-power/light.cpp2
-rw-r--r--core/settings/light-and-power/main.cpp1
-rw-r--r--core/settings/light-and-power/sensor.cpp2
4 files changed, 4 insertions, 3 deletions
diff --git a/core/settings/light-and-power/config.in b/core/settings/light-and-power/config.in
index 96346bb..ef2a42f 100644
--- a/core/settings/light-and-power/config.in
+++ b/core/settings/light-and-power/config.in
@@ -1,4 +1,4 @@
config LIGHT-AND-POWER
boolean "opie-light-and-power (apm and energy saving settings)"
default "y"
- depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE
+ depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIECORE2
diff --git a/core/settings/light-and-power/light.cpp b/core/settings/light-and-power/light.cpp
index 09fb767..ebcc25c 100644
--- a/core/settings/light-and-power/light.cpp
+++ b/core/settings/light-and-power/light.cpp
@@ -48,7 +48,7 @@
-using namespace Opie;
+using namespace Opie::Core;
LightSettings::LightSettings( QWidget* parent, const char* name, WFlags )
: LightSettingsBase( parent, name, false, WStyle_ContextHelp )
diff --git a/core/settings/light-and-power/main.cpp b/core/settings/light-and-power/main.cpp
index 7a47b0b..1fc167d 100644
--- a/core/settings/light-and-power/main.cpp
+++ b/core/settings/light-and-power/main.cpp
@@ -23,4 +23,5 @@
#include <opie2/oapplicationfactory.h>
+using namespace Opie::Core;
OPIE_EXPORT_APP( OApplicationFactory<LightSettings> )
diff --git a/core/settings/light-and-power/sensor.cpp b/core/settings/light-and-power/sensor.cpp
index 53c3aed..a700a64 100644
--- a/core/settings/light-and-power/sensor.cpp
+++ b/core/settings/light-and-power/sensor.cpp
@@ -35,7 +35,7 @@
#include <qslider.h>
#include <qspinbox.h>
-using namespace Opie;
+using namespace Opie::Core;
Sensor::Sensor ( QStringList &params, QWidget *parent, const char *name )
: SensorBase ( parent, name, true, WStyle_ContextHelp ), m_params ( params )