From 2eb5c075b612498c4b65f3d49389b8612612a930 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 13 Mar 2004 21:53:54 +0000 Subject: Introduce the namespace and the new APPLET_EXPORT define --- (limited to 'noncore/applets/autorotateapplet/autorotate.cpp') 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 @@ -22,8 +22,7 @@ /* QT */ #include -using namespace Opie; - +using namespace Opie::Ui; AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) { setFixedWidth( AppLnk::smallIconSize() ); @@ -94,8 +93,5 @@ bool AutoRotate::isRotateEnabled() return res; } -Q_EXPORT_INTERFACE() -{ - Q_CREATE_INSTANCE( OTaskbarAppletWrapper ); -} +EXPORT_OPIE_APPLET_v1( AutoRotate ) -- cgit v0.9.0.2