author | zecke <zecke> | 2004-02-05 17:43:45 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-05 17:43:45 (UTC) |
commit | c5db70388cbe21934d4e3b2df3e8c8c1d9807d41 (patch) (side-by-side diff) | |
tree | 5ec39d9114a60dac06c58e2bcf700f8d0b9a4345 /noncore/applets/memoryapplet/memoryappletimpl.cpp | |
parent | c79bbb6696edf7539ebeda64092f3f91f65ba500 (diff) | |
download | opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.zip opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.gz opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.bz2 |
Janitor: ulong ref removed
Diffstat (limited to 'noncore/applets/memoryapplet/memoryappletimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/applets/memoryapplet/memoryappletimpl.cpp | 2 |
1 files changed, 1 insertions, 1 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 @@ -1,48 +1,48 @@ /********************************************************************** ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. ** ** This file is part of the Qtopia Environment. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** 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 ); return memory; } int MemoryAppletImpl::position() const { return 8; } QRESULT MemoryAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { *iface = 0; |