author | zecke <zecke> | 2004-02-05 16:58:04 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-05 16:58:04 (UTC) |
commit | 416c72588577bca18ba1c9180701143e7e572eed (patch) (unidiff) | |
tree | 216727329d2de8cafce72dc811deee77baf24927 /core/applets/restartapplet2 | |
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/restartapplet2/restart.cpp | 2 | ||||
-rw-r--r-- | core/applets/restartapplet2/restart.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/core/applets/restartapplet2/restart.cpp b/core/applets/restartapplet2/restart.cpp index 576087b..a169505 100644 --- a/core/applets/restartapplet2/restart.cpp +++ b/core/applets/restartapplet2/restart.cpp | |||
@@ -39,13 +39,13 @@ static char *restart_xpm[] = { | |||
39 | " ... .+=. ... ", | 39 | " ... .+=. ... ", |
40 | " .-$. ", | 40 | " .-$. ", |
41 | " .. ", | 41 | " .. ", |
42 | " "}; | 42 | " "}; |
43 | 43 | ||
44 | RestartApplet::RestartApplet ( ) | 44 | RestartApplet::RestartApplet ( ) |
45 | : QObject ( 0, "RestartApplet" ), ref ( 0 ) | 45 | : QObject ( 0, "RestartApplet" ) |
46 | { | 46 | { |
47 | } | 47 | } |
48 | 48 | ||
49 | RestartApplet::~RestartApplet ( ) | 49 | RestartApplet::~RestartApplet ( ) |
50 | { | 50 | { |
51 | } | 51 | } |
diff --git a/core/applets/restartapplet2/restart.h b/core/applets/restartapplet2/restart.h index 9536886..6939b28 100644 --- a/core/applets/restartapplet2/restart.h +++ b/core/applets/restartapplet2/restart.h | |||
@@ -27,11 +27,9 @@ public: | |||
27 | virtual QIconSet icon ( ) const; | 27 | virtual QIconSet icon ( ) const; |
28 | virtual QString text ( ) const; | 28 | virtual QString text ( ) const; |
29 | virtual QPopupMenu *popup ( QWidget *parent ) const; | 29 | virtual QPopupMenu *popup ( QWidget *parent ) const; |
30 | 30 | ||
31 | virtual void activated ( ); | 31 | virtual void activated ( ); |
32 | 32 | ||
33 | private: | ||
34 | ulong ref; | ||
35 | }; | 33 | }; |
36 | 34 | ||
37 | #endif | 35 | #endif |