summaryrefslogtreecommitdiff
path: root/noncore/applets/autorotateapplet/autorotateimpl.cpp
Side-by-side diff
Diffstat (limited to 'noncore/applets/autorotateapplet/autorotateimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/autorotateapplet/autorotateimpl.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/noncore/applets/autorotateapplet/autorotateimpl.cpp b/noncore/applets/autorotateapplet/autorotateimpl.cpp
deleted file mode 100644
index 305ac50..0000000
--- a/noncore/applets/autorotateapplet/autorotateimpl.cpp
+++ b/dev/null
@@ -1,42 +0,0 @@
-#include "autorotate.h"
-#include "autorotateimpl.h"
-
-
-AutoRotateImpl::AutoRotateImpl()
- : autoRotate(0){
- qDebug ("here");
-}
-
-AutoRotateImpl::~AutoRotateImpl() {
- delete autoRotate;
-}
-
-QWidget *AutoRotateImpl::applet( QWidget *parent ) {
- if ( !autoRotate ) {
- autoRotate = new AutoRotate( parent );
- }
- return autoRotate;
-}
-
-int AutoRotateImpl::position() const {
- return 7;
-}
-
-QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) {
- *iface = 0;
- if ( uuid == IID_QUnknown ) {
- *iface = this;
- } else if ( uuid == IID_TaskbarApplet ) {
- *iface = this;
- } else
- return QS_FALSE;
-
- if ( *iface ) {
- (*iface)->addRef();
- }
- return QS_OK;
-}
-
-Q_EXPORT_INTERFACE() {
- Q_CREATE_INSTANCE( AutoRotateImpl )
-}