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 | |||
@@ -33,25 +33,25 @@ static char *restart_xpm[] = { | |||
33 | ".+#@%&%@@&*%@#+.", | 33 | ".+#@%&%@@&*%@#+.", |
34 | ".$@+$&*&&=*$+@$.", | 34 | ".$@+$&*&&=*$+@$.", |
35 | " .--+$&*=&$+--. ", | 35 | " .--+$&*=&$+--. ", |
36 | " .$#++$$++#$. ", | 36 | " .$#++$$++#$. ", |
37 | " .@=$-$++$-$=@. ", | 37 | " .@=$-$++$-$=@. ", |
38 | " .+@-..@@..-@+. ", | 38 | " .+@-..@@..-@+. ", |
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 | } |
52 | 52 | ||
53 | int RestartApplet::position ( ) const | 53 | int RestartApplet::position ( ) const |
54 | { | 54 | { |
55 | return 4; | 55 | return 4; |
56 | } | 56 | } |
57 | 57 | ||
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 | |||
@@ -21,17 +21,15 @@ public: | |||
21 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | 21 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); |
22 | Q_REFCOUNT | 22 | Q_REFCOUNT |
23 | 23 | ||
24 | virtual int position() const; | 24 | virtual int position() const; |
25 | 25 | ||
26 | virtual QString name ( ) const; | 26 | virtual QString name ( ) const; |
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 |