Diffstat (limited to 'noncore/applets/autorotateapplet/autorotateimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/applets/autorotateapplet/autorotateimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/applets/autorotateapplet/autorotateimpl.cpp b/noncore/applets/autorotateapplet/autorotateimpl.cpp index 1b15c6d..305ac50 100644 --- a/noncore/applets/autorotateapplet/autorotateimpl.cpp +++ b/noncore/applets/autorotateapplet/autorotateimpl.cpp | |||
@@ -1,30 +1,30 @@ | |||
1 | #include "autorotate.h" | 1 | #include "autorotate.h" |
2 | #include "autorotateimpl.h" | 2 | #include "autorotateimpl.h" |
3 | 3 | ||
4 | 4 | ||
5 | AutoRotateImpl::AutoRotateImpl() | 5 | AutoRotateImpl::AutoRotateImpl() |
6 | : autoRotate(0), ref(0) { | 6 | : autoRotate(0){ |
7 | qDebug ("here"); | 7 | qDebug ("here"); |
8 | } | 8 | } |
9 | 9 | ||
10 | AutoRotateImpl::~AutoRotateImpl() { | 10 | AutoRotateImpl::~AutoRotateImpl() { |
11 | delete autoRotate; | 11 | delete autoRotate; |
12 | } | 12 | } |
13 | 13 | ||
14 | QWidget *AutoRotateImpl::applet( QWidget *parent ) { | 14 | QWidget *AutoRotateImpl::applet( QWidget *parent ) { |
15 | if ( !autoRotate ) { | 15 | if ( !autoRotate ) { |
16 | autoRotate = new AutoRotate( parent ); | 16 | autoRotate = new AutoRotate( parent ); |
17 | } | 17 | } |
18 | return autoRotate; | 18 | return autoRotate; |
19 | } | 19 | } |
20 | 20 | ||
21 | int AutoRotateImpl::position() const { | 21 | int AutoRotateImpl::position() const { |
22 | return 7; | 22 | return 7; |
23 | } | 23 | } |
24 | 24 | ||
25 | QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { | 25 | QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { |
26 | *iface = 0; | 26 | *iface = 0; |
27 | if ( uuid == IID_QUnknown ) { | 27 | if ( uuid == IID_QUnknown ) { |
28 | *iface = this; | 28 | *iface = this; |
29 | } else if ( uuid == IID_TaskbarApplet ) { | 29 | } else if ( uuid == IID_TaskbarApplet ) { |
30 | *iface = this; | 30 | *iface = this; |