summaryrefslogtreecommitdiff
Side-by-side diff
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 @@
#include "autorotate.h"
#include "autorotateimpl.h"
AutoRotateImpl::AutoRotateImpl()
- : autoRotate(0), ref(0) {
+ : autoRotate(0){
qDebug ("here");
}
AutoRotateImpl::~AutoRotateImpl() {
delete autoRotate;
}
QWidget *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:
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
AutoRotate *autoRotate;
- ulong ref;
};
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 @@
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "memorymeter.h"
#include "memoryappletimpl.h"
MemoryAppletImpl::MemoryAppletImpl()
- : memory(0), ref(0)
+ : memory(0)
{
}
MemoryAppletImpl::~MemoryAppletImpl()
{
delete memory;
}
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:
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
MemoryMeter *memory;
- ulong ref;
};
#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 @@
**
**
**********************************************************************/
#include "notes.h"
#include "notesappletimpl.h"
NotesAppletImpl::NotesAppletImpl()
- : notes(0), ref(0) {
+ : notes(0){
}
NotesAppletImpl::~NotesAppletImpl() {
// not needed though cause we should have a valid parent
delete notes;
}
QWidget *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:
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
NotesApplet *notes;
- ulong ref;
};
#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 @@
** not clear to you.
**
**********************************************************************/
#include "wireless.h"
#include "wirelessappletimpl.h"
WirelessAppletImpl::WirelessAppletImpl()
- : wireless(0), ref(0)
+ : wireless(0)
{
}
WirelessAppletImpl::~WirelessAppletImpl()
{
delete wireless;
}
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:
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
WirelessApplet *wireless;
- ulong ref;
};
#endif