summaryrefslogtreecommitdiff
path: root/noncore/applets/autorotateapplet/autorotate.cpp
authorzecke <zecke>2004-03-13 21:53:54 (UTC)
committer zecke <zecke>2004-03-13 21:53:54 (UTC)
commit2eb5c075b612498c4b65f3d49389b8612612a930 (patch) (side-by-side diff)
treea0230cd9007f71bbb387b71b8e58684937e0cf70 /noncore/applets/autorotateapplet/autorotate.cpp
parent184a0cd9935d0a249038cdbe05488c181b273d64 (diff)
downloadopie-2eb5c075b612498c4b65f3d49389b8612612a930.zip
opie-2eb5c075b612498c4b65f3d49389b8612612a930.tar.gz
opie-2eb5c075b612498c4b65f3d49389b8612612a930.tar.bz2
Introduce the namespace
and the new APPLET_EXPORT define
Diffstat (limited to 'noncore/applets/autorotateapplet/autorotate.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/autorotateapplet/autorotate.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/noncore/applets/autorotateapplet/autorotate.cpp b/noncore/applets/autorotateapplet/autorotate.cpp
index 94be0ae..ae7fbd0 100644
--- a/noncore/applets/autorotateapplet/autorotate.cpp
+++ b/noncore/applets/autorotateapplet/autorotate.cpp
@@ -24,4 +24,3 @@
-using namespace Opie;
-
+using namespace Opie::Ui;
AutoRotate::AutoRotate(QWidget * parent):QWidget(parent)
@@ -96,6 +95,3 @@ bool AutoRotate::isRotateEnabled()
-Q_EXPORT_INTERFACE()
-{
- Q_CREATE_INSTANCE( OTaskbarAppletWrapper<AutoRotate> );
-}
+EXPORT_OPIE_APPLET_v1( AutoRotate )