Diffstat (limited to 'noncore/applets/autorotateapplet/autorotate.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/applets/autorotateapplet/autorotate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/applets/autorotateapplet/autorotate.cpp b/noncore/applets/autorotateapplet/autorotate.cpp index ae7fbd0..34802fb 100644 --- a/noncore/applets/autorotateapplet/autorotate.cpp +++ b/noncore/applets/autorotateapplet/autorotate.cpp | |||
@@ -12,18 +12,18 @@ | |||
12 | 12 | ||
13 | #include "autorotate.h" | 13 | #include "autorotate.h" |
14 | 14 | ||
15 | /* OPIE */ | 15 | /* OPIE */ |
16 | #include <opie2/odevice.h> | 16 | #include <opie2/odebug.h> |
17 | #include <opie2/otaskbarapplet.h> | 17 | #include <opie2/otaskbarapplet.h> |
18 | #include <qpe/applnk.h> | 18 | #include <qpe/applnk.h> |
19 | #include <qpe/config.h> | 19 | #include <qpe/config.h> |
20 | #include <qpe/resource.h> | 20 | #include <qpe/resource.h> |
21 | using namespace Opie::Core; | ||
21 | 22 | ||
22 | /* QT */ | 23 | /* QT */ |
23 | #include <qpainter.h> | 24 | #include <qpainter.h> |
24 | 25 | ||
25 | using namespace Opie::Ui; | ||
26 | AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) | 26 | AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) |
27 | { | 27 | { |
28 | setFixedWidth( AppLnk::smallIconSize() ); | 28 | setFixedWidth( AppLnk::smallIconSize() ); |
29 | setFixedHeight( AppLnk::smallIconSize() ); | 29 | setFixedHeight( AppLnk::smallIconSize() ); |
@@ -86,11 +86,11 @@ bool AutoRotate::isRotateEnabled() | |||
86 | 86 | ||
87 | bool res = cfg.readBoolEntry( "rotateEnabled" ); | 87 | bool res = cfg.readBoolEntry( "rotateEnabled" ); |
88 | 88 | ||
89 | if (res ) | 89 | if (res ) |
90 | qDebug("Enabled"); | 90 | odebug << "Enabled" << oendl; |
91 | else | 91 | else |
92 | qDebug("Disabled"); | 92 | odebug << "Disabled" << oendl; |
93 | return res; | 93 | return res; |
94 | } | 94 | } |
95 | 95 | ||
96 | EXPORT_OPIE_APPLET_v1( AutoRotate ) | 96 | EXPORT_OPIE_APPLET_v1( AutoRotate ) |