author | zecke <zecke> | 2004-02-05 16:58:04 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-05 16:58:04 (UTC) |
commit | 416c72588577bca18ba1c9180701143e7e572eed (patch) (side-by-side diff) | |
tree | 216727329d2de8cafce72dc811deee77baf24927 /core/applets/batteryapplet | |
parent | 4c4ed7176231558d01aeca2eb705fc6810ec7766 (diff) | |
download | opie-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
-rw-r--r-- | core/applets/batteryapplet/batteryappletimpl.cpp | 2 | ||||
-rw-r--r-- | core/applets/batteryapplet/batteryappletimpl.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/core/applets/batteryapplet/batteryappletimpl.cpp b/core/applets/batteryapplet/batteryappletimpl.cpp index 9ad0382..7cc5f50 100644 --- a/core/applets/batteryapplet/batteryappletimpl.cpp +++ b/core/applets/batteryapplet/batteryappletimpl.cpp @@ -17,17 +17,17 @@ ** not clear to you. ** **********************************************************************/ #include "battery.h" #include "batteryappletimpl.h" BatteryAppletImpl::BatteryAppletImpl() - : battery(0), ref(0) + : battery(0) { } BatteryAppletImpl::~BatteryAppletImpl() { delete battery; } diff --git a/core/applets/batteryapplet/batteryappletimpl.h b/core/applets/batteryapplet/batteryappletimpl.h index 94f49db..99654e3 100644 --- a/core/applets/batteryapplet/batteryappletimpl.h +++ b/core/applets/batteryapplet/batteryappletimpl.h @@ -33,12 +33,11 @@ public: QRESULT queryInterface( const QUuid&, QUnknownInterface** ); Q_REFCOUNT virtual QWidget *applet( QWidget *parent ); virtual int position() const; private: BatteryMeter *battery; - ulong ref; }; #endif |