summaryrefslogtreecommitdiff
path: root/noncore/applets/memoryapplet
authorzecke <zecke>2004-02-05 17:43:45 (UTC)
committer zecke <zecke>2004-02-05 17:43:45 (UTC)
commitc5db70388cbe21934d4e3b2df3e8c8c1d9807d41 (patch) (side-by-side diff)
tree5ec39d9114a60dac06c58e2bcf700f8d0b9a4345 /noncore/applets/memoryapplet
parentc79bbb6696edf7539ebeda64092f3f91f65ba500 (diff)
downloadopie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.zip
opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.gz
opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.bz2
Janitor: ulong ref removed
Diffstat (limited to 'noncore/applets/memoryapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/memoryapplet/memoryappletimpl.cpp2
-rw-r--r--noncore/applets/memoryapplet/memoryappletimpl.h1
2 files changed, 1 insertions, 2 deletions
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
@@ -12,25 +12,25 @@
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** 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;
}
QWidget *MemoryAppletImpl::applet( QWidget *parent )
{
if ( !memory )
memory = new MemoryMeter( parent );
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
@@ -29,16 +29,15 @@ class /*QTOPIA_PLUGIN_EXPORT*/ MemoryAppletImpl : public TaskbarAppletInterface
public:
MemoryAppletImpl();
virtual ~MemoryAppletImpl();
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
MemoryMeter *memory;
- ulong ref;
};
#endif