author | zecke <zecke> | 2004-02-05 17:43:45 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-05 17:43:45 (UTC) |
commit | c5db70388cbe21934d4e3b2df3e8c8c1d9807d41 (patch) (unidiff) | |
tree | 5ec39d9114a60dac06c58e2bcf700f8d0b9a4345 /noncore/applets/wirelessapplet | |
parent | c79bbb6696edf7539ebeda64092f3f91f65ba500 (diff) | |
download | opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.zip opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.gz opie-c5db70388cbe21934d4e3b2df3e8c8c1d9807d41.tar.bz2 |
Janitor: ulong ref removed
Diffstat (limited to 'noncore/applets/wirelessapplet') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/applets/wirelessapplet/wirelessappletimpl.cpp | 2 | ||||
-rw-r--r-- | noncore/applets/wirelessapplet/wirelessappletimpl.h | 1 |
2 files changed, 1 insertions, 2 deletions
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 | |||
@@ -13,25 +13,25 @@ | |||
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 | ||
24 | WirelessAppletImpl::WirelessAppletImpl() | 24 | WirelessAppletImpl::WirelessAppletImpl() |
25 | : wireless(0), ref(0) | 25 | : wireless(0) |
26 | { | 26 | { |
27 | } | 27 | } |
28 | 28 | ||
29 | WirelessAppletImpl::~WirelessAppletImpl() | 29 | WirelessAppletImpl::~WirelessAppletImpl() |
30 | { | 30 | { |
31 | delete wireless; | 31 | delete wireless; |
32 | } | 32 | } |
33 | 33 | ||
34 | QWidget *WirelessAppletImpl::applet( QWidget *parent ) | 34 | QWidget *WirelessAppletImpl::applet( QWidget *parent ) |
35 | { | 35 | { |
36 | if ( !wireless ) | 36 | if ( !wireless ) |
37 | wireless = new WirelessApplet( parent ); | 37 | wireless = new WirelessApplet( parent ); |
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 | |||
@@ -29,16 +29,15 @@ class WirelessAppletImpl : public TaskbarAppletInterface | |||
29 | public: | 29 | public: |
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 | ||
39 | private: | 39 | private: |
40 | WirelessApplet *wireless; | 40 | WirelessApplet *wireless; |
41 | ulong ref; | ||
42 | }; | 41 | }; |
43 | 42 | ||
44 | #endif | 43 | #endif |