summaryrefslogtreecommitdiff
authorzecke <zecke>2004-02-05 17:43:45 (UTC)
committer zecke <zecke>2004-02-05 17:43:45 (UTC)
commitc5db70388cbe21934d4e3b2df3e8c8c1d9807d41 (patch) (unidiff)
tree5ec39d9114a60dac06c58e2bcf700f8d0b9a4345
parentc79bbb6696edf7539ebeda64092f3f91f65ba500 (diff)
downloadopie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.zip
opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.gz
opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.bz2
Janitor: ulong ref removed
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,42 +1,42 @@
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 ) {
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
21int AutoRotateImpl::position() const { 21int AutoRotateImpl::position() const {
22 return 7; 22 return 7;
23} 23}
24 24
25QRESULT AutoRotateImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { 25QRESULT 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;
31 } else 31 } else
32 return QS_FALSE; 32 return QS_FALSE;
33 33
34 if ( *iface ) { 34 if ( *iface ) {
35 (*iface)->addRef(); 35 (*iface)->addRef();
36 } 36 }
37 return QS_OK; 37 return QS_OK;
38} 38}
39 39
40Q_EXPORT_INTERFACE() { 40Q_EXPORT_INTERFACE() {
41 Q_CREATE_INSTANCE( AutoRotateImpl ) 41 Q_CREATE_INSTANCE( AutoRotateImpl )
42} 42}
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
@@ -1,19 +1,18 @@
1#include <qpe/taskbarappletinterface.h> 1#include <qpe/taskbarappletinterface.h>
2 2
3class AutoRotate; 3class AutoRotate;
4 4
5class AutoRotateImpl : public TaskbarAppletInterface { 5class AutoRotateImpl : public TaskbarAppletInterface {
6public: 6public:
7 AutoRotateImpl(); 7 AutoRotateImpl();
8 virtual ~AutoRotateImpl(); 8 virtual ~AutoRotateImpl();
9 9
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
@@ -1,65 +1,65 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of the Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
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
33QWidget *MemoryAppletImpl::applet( QWidget *parent ) 33QWidget *MemoryAppletImpl::applet( QWidget *parent )
34{ 34{
35 if ( !memory ) 35 if ( !memory )
36 memory = new MemoryMeter( parent ); 36 memory = new MemoryMeter( parent );
37 37
38 return memory; 38 return memory;
39} 39}
40 40
41int MemoryAppletImpl::position() const 41int MemoryAppletImpl::position() const
42{ 42{
43 return 8; 43 return 8;
44} 44}
45 45
46QRESULT MemoryAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 46QRESULT MemoryAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
47{ 47{
48 *iface = 0; 48 *iface = 0;
49 if ( uuid == IID_QUnknown ) 49 if ( uuid == IID_QUnknown )
50 *iface = this; 50 *iface = this;
51 else if ( uuid == IID_TaskbarApplet ) 51 else if ( uuid == IID_TaskbarApplet )
52 *iface = this; 52 *iface = this;
53 else 53 else
54 return QS_FALSE; 54 return QS_FALSE;
55 55
56 (*iface)->addRef(); 56 (*iface)->addRef();
57 57
58 return QS_OK; 58 return QS_OK;
59} 59}
60 60
61Q_EXPORT_INTERFACE() 61Q_EXPORT_INTERFACE()
62{ 62{
63 Q_CREATE_INSTANCE( MemoryAppletImpl ) 63 Q_CREATE_INSTANCE( MemoryAppletImpl )
64} 64}
65 65
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
@@ -1,44 +1,43 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of the Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
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#ifndef MEMORYAPPLETIMPL_H 20#ifndef MEMORYAPPLETIMPL_H
21#define MEMORYAPPLETIMPL_H 21#define MEMORYAPPLETIMPL_H
22 22
23#include <qtopia/taskbarappletinterface.h> 23#include <qtopia/taskbarappletinterface.h>
24 24
25class MemoryMeter; 25class MemoryMeter;
26 26
27class /*QTOPIA_PLUGIN_EXPORT*/ MemoryAppletImpl : public TaskbarAppletInterface 27class /*QTOPIA_PLUGIN_EXPORT*/ MemoryAppletImpl : public TaskbarAppletInterface
28{ 28{
29public: 29public:
30 MemoryAppletImpl(); 30 MemoryAppletImpl();
31 virtual ~MemoryAppletImpl(); 31 virtual ~MemoryAppletImpl();
32 32
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
@@ -1,53 +1,53 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2002 L.J. Potter <llornkcor@handhelds.org> 2** Copyright (C) 2002 L.J. Potter <llornkcor@handhelds.org>
3** 3**
4** 4**
5** This file may be distributed and/or modified under the terms of the 5** This file may be distributed and/or modified under the terms of the
6** GNU General Public License version 2 as published by the Free Software 6** GNU General Public License version 2 as published by the Free Software
7** Foundation and appearing in the file LICENSE.GPL included in the 7** Foundation and appearing in the file LICENSE.GPL included in the
8** packaging of this file. 8** packaging of this file.
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 ) {
26 if ( !notes ) 26 if ( !notes )
27 notes = new NotesApplet( parent ); 27 notes = new NotesApplet( parent );
28 return notes; 28 return notes;
29} 29}
30 30
31int NotesAppletImpl::position() const { 31int NotesAppletImpl::position() const {
32 return 6; 32 return 6;
33} 33}
34 34
35QRESULT NotesAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) { 35QRESULT NotesAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) {
36 *iface = 0; 36 *iface = 0;
37 if ( uuid == IID_QUnknown ) 37 if ( uuid == IID_QUnknown )
38 *iface = this; 38 *iface = this;
39 else if ( uuid == IID_TaskbarApplet ) 39 else if ( uuid == IID_TaskbarApplet )
40 *iface = this; 40 *iface = this;
41 else 41 else
42 return QS_FALSE; 42 return QS_FALSE;
43 43
44 if ( *iface ) 44 if ( *iface )
45 (*iface)->addRef(); 45 (*iface)->addRef();
46 return QS_OK; 46 return QS_OK;
47} 47}
48 48
49Q_EXPORT_INTERFACE() { 49Q_EXPORT_INTERFACE() {
50 Q_CREATE_INSTANCE( NotesAppletImpl ) 50 Q_CREATE_INSTANCE( NotesAppletImpl )
51} 51}
52 52
53 53
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
@@ -1,36 +1,35 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2002 L.J. Potter <llornkcor@handhelds.org> 2** Copyright (C) 2002 L.J. Potter <llornkcor@handhelds.org>
3** 3**
4** 4**
5** This file may be distributed and/or modified under the terms of the 5** This file may be distributed and/or modified under the terms of the
6** GNU General Public License version 2 as published by the Free Software 6** GNU General Public License version 2 as published by the Free Software
7** Foundation and appearing in the file LICENSE.GPL included in the 7** Foundation and appearing in the file LICENSE.GPL included in the
8** packaging of this file. 8** packaging of this file.
9** 9**
10** 10**
11**********************************************************************/ 11**********************************************************************/
12#ifndef NOTESAPPLETIMPL_H 12#ifndef NOTESAPPLETIMPL_H
13#define NOTESAPPLETIMPL_H 13#define NOTESAPPLETIMPL_H
14 14
15#include <qpe/taskbarappletinterface.h> 15#include <qpe/taskbarappletinterface.h>
16 16
17class NotesApplet; 17class NotesApplet;
18 18
19class NotesAppletImpl : public TaskbarAppletInterface 19class NotesAppletImpl : public TaskbarAppletInterface
20{ 20{
21public: 21public:
22 NotesAppletImpl(); 22 NotesAppletImpl();
23 virtual ~NotesAppletImpl(); 23 virtual ~NotesAppletImpl();
24 24
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
@@ -1,66 +1,66 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
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 "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
34QWidget *WirelessAppletImpl::applet( QWidget *parent ) 34QWidget *WirelessAppletImpl::applet( QWidget *parent )
35{ 35{
36 if ( !wireless ) 36 if ( !wireless )
37 wireless = new WirelessApplet( parent ); 37 wireless = new WirelessApplet( parent );
38 return wireless; 38 return wireless;
39} 39}
40 40
41int WirelessAppletImpl::position() const 41int WirelessAppletImpl::position() const
42{ 42{
43 return 6; 43 return 6;
44} 44}
45 45
46QRESULT WirelessAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface ) 46QRESULT WirelessAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **iface )
47{ 47{
48 *iface = 0; 48 *iface = 0;
49 if ( uuid == IID_QUnknown ) 49 if ( uuid == IID_QUnknown )
50 *iface = this; 50 *iface = this;
51 else if ( uuid == IID_TaskbarApplet ) 51 else if ( uuid == IID_TaskbarApplet )
52 *iface = this; 52 *iface = this;
53 else 53 else
54 return QS_FALSE; 54 return QS_FALSE;
55 55
56 if ( *iface ) 56 if ( *iface )
57 (*iface)->addRef(); 57 (*iface)->addRef();
58 return QS_OK; 58 return QS_OK;
59} 59}
60 60
61Q_EXPORT_INTERFACE() 61Q_EXPORT_INTERFACE()
62{ 62{
63 Q_CREATE_INSTANCE( WirelessAppletImpl ) 63 Q_CREATE_INSTANCE( WirelessAppletImpl )
64} 64}
65 65
66 66
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
@@ -1,44 +1,43 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
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#ifndef WIRELESSAPPLETIMPL_H 20#ifndef WIRELESSAPPLETIMPL_H
21#define WIRELESSAPPLETIMPL_H 21#define WIRELESSAPPLETIMPL_H
22 22
23#include <qpe/taskbarappletinterface.h> 23#include <qpe/taskbarappletinterface.h>
24 24
25class WirelessApplet; 25class WirelessApplet;
26 26
27class WirelessAppletImpl : public TaskbarAppletInterface 27class WirelessAppletImpl : public TaskbarAppletInterface
28{ 28{
29public: 29public:
30 WirelessAppletImpl(); 30 WirelessAppletImpl();
31 virtual ~WirelessAppletImpl(); 31 virtual ~WirelessAppletImpl();
32 32
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