summaryrefslogtreecommitdiff
path: root/noncore/applets/autorotateapplet/autorotate.cpp
Unidiff
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
@@ -22,8 +22,7 @@
22/* QT */ 22/* QT */
23#include <qpainter.h> 23#include <qpainter.h>
24 24
25using namespace Opie; 25using namespace Opie::Ui;
26
27AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) 26AutoRotate::AutoRotate(QWidget * parent):QWidget(parent)
28{ 27{
29 setFixedWidth( AppLnk::smallIconSize() ); 28 setFixedWidth( AppLnk::smallIconSize() );
@@ -94,8 +93,5 @@ bool AutoRotate::isRotateEnabled()
94 return res; 93 return res;
95} 94}
96 95
97Q_EXPORT_INTERFACE() 96EXPORT_OPIE_APPLET_v1( AutoRotate )
98{
99 Q_CREATE_INSTANCE( OTaskbarAppletWrapper<AutoRotate> );
100}
101 97