summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/autorotateapplet/autorotateimpl.cpp2
-rw-r--r--noncore/applets/autorotateapplet/autorotateimpl.h1
-rw-r--r--noncore/applets/memoryapplet/memoryappletimpl.cpp2
-rw-r--r--noncore/applets/memoryapplet/memoryappletimpl.h1
-rw-r--r--noncore/applets/notesapplet/notesappletimpl.cpp2
-rw-r--r--noncore/applets/notesapplet/notesappletimpl.h1
-rw-r--r--noncore/applets/wirelessapplet/wirelessappletimpl.cpp2
-rw-r--r--noncore/applets/wirelessapplet/wirelessappletimpl.h1
8 files changed, 4 insertions, 8 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,14 +1,14 @@
1#include "autorotate.h" 1#include "autorotate.h"
2#include "autorotateimpl.h" 2#include "autorotateimpl.h"
3 3
4 4
5AutoRotateImpl::AutoRotateImpl() 5AutoRotateImpl::AutoRotateImpl()
6 : autoRotate(0), ref(0) { 6 : autoRotate(0){
7 qDebug ("here"); 7 qDebug ("here");
8} 8}
9 9
10AutoRotateImpl::~AutoRotateImpl() { 10AutoRotateImpl::~AutoRotateImpl() {
11 delete autoRotate; 11 delete autoRotate;
12} 12}
13 13
14QWidget *AutoRotateImpl::applet( QWidget *parent ) { 14QWidget *AutoRotateImpl::applet( QWidget *parent ) {
diff --git a/noncore/applets/autorotateapplet/autorotateimpl.h b/noncore/applets/autorotateapplet/autorotateimpl.h
index 87b0731..fde23a9 100644
--- a/noncore/applets/autorotateapplet/autorotateimpl.h
+++ b/noncore/applets/autorotateapplet/autorotateimpl.h
@@ -10,10 +10,9 @@ public:
10 QRESULT queryInterface( const QUuid&, QUnknownInterface** ); 10 QRESULT queryInterface( const QUuid&, QUnknownInterface** );
11 Q_REFCOUNT 11 Q_REFCOUNT
12 12
13 virtual QWidget *applet( QWidget *parent ); 13 virtual QWidget *applet( QWidget *parent );
14 virtual int position() const; 14 virtual int position() const;
15 15
16private: 16private:
17 AutoRotate *autoRotate; 17 AutoRotate *autoRotate;
18 ulong ref;
19}; 18};
diff --git a/noncore/applets/memoryapplet/memoryappletimpl.cpp b/noncore/applets/memoryapplet/memoryappletimpl.cpp
index a57f4a9..a117e7f 100644
--- a/noncore/applets/memoryapplet/memoryappletimpl.cpp
+++ b/noncore/applets/memoryapplet/memoryappletimpl.cpp
@@ -16,17 +16,17 @@
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#include "memorymeter.h" 20#include "memorymeter.h"
21#include "memoryappletimpl.h" 21#include "memoryappletimpl.h"
22 22
23MemoryAppletImpl::MemoryAppletImpl() 23MemoryAppletImpl::MemoryAppletImpl()
24 : memory(0), ref(0) 24 : memory(0)
25{ 25{
26} 26}
27 27
28MemoryAppletImpl::~MemoryAppletImpl() 28MemoryAppletImpl::~MemoryAppletImpl()
29{ 29{
30 delete memory; 30 delete memory;
31} 31}
32 32
diff --git a/noncore/applets/memoryapplet/memoryappletimpl.h b/noncore/applets/memoryapplet/memoryappletimpl.h
index e0016e1..2db7dbe 100644
--- a/noncore/applets/memoryapplet/memoryappletimpl.h
+++ b/noncore/applets/memoryapplet/memoryappletimpl.h
@@ -33,12 +33,11 @@ public:
33 QRESULT queryInterface( const QUuid&, QUnknownInterface** ); 33 QRESULT queryInterface( const QUuid&, QUnknownInterface** );
34 Q_REFCOUNT 34 Q_REFCOUNT
35 35
36 virtual QWidget *applet( QWidget *parent ); 36 virtual QWidget *applet( QWidget *parent );
37 virtual int position() const; 37 virtual int position() const;
38 38
39private: 39private:
40 MemoryMeter *memory; 40 MemoryMeter *memory;
41 ulong ref;
42}; 41};
43 42
44#endif 43#endif
diff --git a/noncore/applets/notesapplet/notesappletimpl.cpp b/noncore/applets/notesapplet/notesappletimpl.cpp
index 93de433..8a9da7f 100644
--- a/noncore/applets/notesapplet/notesappletimpl.cpp
+++ b/noncore/applets/notesapplet/notesappletimpl.cpp
@@ -9,17 +9,17 @@
9** 9**
10** 10**
11**********************************************************************/ 11**********************************************************************/
12#include "notes.h" 12#include "notes.h"
13#include "notesappletimpl.h" 13#include "notesappletimpl.h"
14 14
15 15
16NotesAppletImpl::NotesAppletImpl() 16NotesAppletImpl::NotesAppletImpl()
17 : notes(0), ref(0) { 17 : notes(0){
18} 18}
19 19
20NotesAppletImpl::~NotesAppletImpl() { 20NotesAppletImpl::~NotesAppletImpl() {
21 // not needed though cause we should have a valid parent 21 // not needed though cause we should have a valid parent
22 delete notes; 22 delete notes;
23} 23}
24 24
25QWidget *NotesAppletImpl::applet( QWidget *parent ) { 25QWidget *NotesAppletImpl::applet( QWidget *parent ) {
diff --git a/noncore/applets/notesapplet/notesappletimpl.h b/noncore/applets/notesapplet/notesappletimpl.h
index add9865..a87118c 100644
--- a/noncore/applets/notesapplet/notesappletimpl.h
+++ b/noncore/applets/notesapplet/notesappletimpl.h
@@ -25,12 +25,11 @@ public:
25 QRESULT queryInterface( const QUuid&, QUnknownInterface** ); 25 QRESULT queryInterface( const QUuid&, QUnknownInterface** );
26 Q_REFCOUNT 26 Q_REFCOUNT
27 27
28 virtual QWidget *applet( QWidget *parent ); 28 virtual QWidget *applet( QWidget *parent );
29 virtual int position() const; 29 virtual int position() const;
30 30
31private: 31private:
32 NotesApplet *notes; 32 NotesApplet *notes;
33 ulong ref;
34}; 33};
35 34
36#endif 35#endif
diff --git a/noncore/applets/wirelessapplet/wirelessappletimpl.cpp b/noncore/applets/wirelessapplet/wirelessappletimpl.cpp
index 8b7afcf..de70714 100644
--- a/noncore/applets/wirelessapplet/wirelessappletimpl.cpp
+++ b/noncore/applets/wirelessapplet/wirelessappletimpl.cpp
@@ -17,17 +17,17 @@
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#include "wireless.h" 20#include "wireless.h"
21#include "wirelessappletimpl.h" 21#include "wirelessappletimpl.h"
22 22
23 23
24WirelessAppletImpl::WirelessAppletImpl() 24WirelessAppletImpl::WirelessAppletImpl()
25 : wireless(0), ref(0) 25 : wireless(0)
26{ 26{
27} 27}
28 28
29WirelessAppletImpl::~WirelessAppletImpl() 29WirelessAppletImpl::~WirelessAppletImpl()
30{ 30{
31 delete wireless; 31 delete wireless;
32} 32}
33 33
diff --git a/noncore/applets/wirelessapplet/wirelessappletimpl.h b/noncore/applets/wirelessapplet/wirelessappletimpl.h
index 7008d51..1bf4507 100644
--- a/noncore/applets/wirelessapplet/wirelessappletimpl.h
+++ b/noncore/applets/wirelessapplet/wirelessappletimpl.h
@@ -33,12 +33,11 @@ public:
33 QRESULT queryInterface( const QUuid&, QUnknownInterface** ); 33 QRESULT queryInterface( const QUuid&, QUnknownInterface** );
34 Q_REFCOUNT 34 Q_REFCOUNT
35 35
36 virtual QWidget *applet( QWidget *parent ); 36 virtual QWidget *applet( QWidget *parent );
37 virtual int position() const; 37 virtual int position() const;
38 38
39private: 39private:
40 WirelessApplet *wireless; 40 WirelessApplet *wireless;
41 ulong ref;
42}; 41};
43 42
44#endif 43#endif