summaryrefslogtreecommitdiff
path: root/noncore/applets/wirelessapplet
Unidiff
Diffstat (limited to 'noncore/applets/wirelessapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/wirelessapplet/wirelessappletimpl.cpp2
-rw-r--r--noncore/applets/wirelessapplet/wirelessappletimpl.h1
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
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 );
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
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