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) (side-by-side diff)
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) (show 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 @@
**
** 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 "restart.h"
#include "restartappletimpl.h"
RestartAppletImpl::RestartAppletImpl()
- : restart(0), ref(0)
+ : restart(0)
{
}
RestartAppletImpl::~RestartAppletImpl()
{
delete restart;
}
QWidget *RestartAppletImpl::applet( QWidget *parent )
{
qDebug("restart applet");
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
public:
RestartAppletImpl();
virtual ~RestartAppletImpl();
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual QWidget *applet( QWidget *parent );
virtual int position() const;
private:
RestartApplet *restart;
- ulong ref;
};
#endif