summaryrefslogtreecommitdiff
path: root/core/applets/restartapplet
authorzecke <zecke>2004-02-05 16:58:04 (UTC)
committer zecke <zecke>2004-02-05 16:58:04 (UTC)
commit416c72588577bca18ba1c9180701143e7e572eed (patch) (unidiff)
tree216727329d2de8cafce72dc811deee77baf24927 /core/applets/restartapplet
parent4c4ed7176231558d01aeca2eb705fc6810ec7766 (diff)
downloadopie-416c72588577bca18ba1c9180701143e7e572eed.zip
opie-416c72588577bca18ba1c9180701143e7e572eed.tar.gz
opie-416c72588577bca18ba1c9180701143e7e572eed.tar.bz2
"Here we are now entertain US....."
Some janitor tasks... remove ulong ref; If we use Q_REFCOUNT
Diffstat (limited to 'core/applets/restartapplet') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/restartapplet/restartappletimpl.cpp2
-rw-r--r--core/applets/restartapplet/restartappletimpl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/core/applets/restartapplet/restartappletimpl.cpp b/core/applets/restartapplet/restartappletimpl.cpp
index 5b0092d..d8e10d3 100644
--- a/core/applets/restartapplet/restartappletimpl.cpp
+++ b/core/applets/restartapplet/restartappletimpl.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 "restart.h" 20#include "restart.h"
21#include "restartappletimpl.h" 21#include "restartappletimpl.h"
22 22
23 23
24RestartAppletImpl::RestartAppletImpl() 24RestartAppletImpl::RestartAppletImpl()
25 : restart(0), ref(0) 25 : restart(0)
26{ 26{
27} 27}
28 28
29RestartAppletImpl::~RestartAppletImpl() 29RestartAppletImpl::~RestartAppletImpl()
30{ 30{
31 delete restart; 31 delete restart;
32} 32}
33 33
34QWidget *RestartAppletImpl::applet( QWidget *parent ) 34QWidget *RestartAppletImpl::applet( QWidget *parent )
35{ 35{
36 qDebug("restart applet"); 36 qDebug("restart applet");
37 if ( !restart ) 37 if ( !restart )
diff --git a/core/applets/restartapplet/restartappletimpl.h b/core/applets/restartapplet/restartappletimpl.h
index cdda49c..db2b821 100644
--- a/core/applets/restartapplet/restartappletimpl.h
+++ b/core/applets/restartapplet/restartappletimpl.h
@@ -29,16 +29,15 @@ class RestartAppletImpl : public TaskbarAppletInterface
29public: 29public:
30 RestartAppletImpl(); 30 RestartAppletImpl();
31 virtual ~RestartAppletImpl(); 31 virtual ~RestartAppletImpl();
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 RestartApplet *restart; 40 RestartApplet *restart;
41 ulong ref;
42}; 41};
43 42
44#endif 43#endif