-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 | |||
@@ -21,49 +21,49 @@ static char *restart_xpm[] = { | |||
21 | "$ c #808080", | 21 | "$ c #808080", |
22 | "% c #FFA858", | 22 | "% c #FFA858", |
23 | "& c #FFDCA8", | 23 | "& c #FFDCA8", |
24 | "* c #FFFFC0", | 24 | "* c #FFFFC0", |
25 | "= c #FFFFFF", | 25 | "= c #FFFFFF", |
26 | "- c #585858", | 26 | "- c #585858", |
27 | " .. ", | 27 | " .. ", |
28 | " .. .++. .. ", | 28 | " .. .++. .. ", |
29 | " .+@.@##@.@+. ", | 29 | " .+@.@##@.@+. ", |
30 | " .@+$@%%@$+@. ", | 30 | " .@+$@%%@$+@. ", |
31 | " .$%%&%&%$. ", | 31 | " .$%%&%&%$. ", |
32 | " ..+@%&$$%&@+.. ", | 32 | " ..+@%&$$%&@+.. ", |
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 | ||
58 | QString RestartApplet::name ( ) const | 58 | QString RestartApplet::name ( ) const |
59 | { | 59 | { |
60 | return tr( "Restart" ); | 60 | return tr( "Restart" ); |
61 | } | 61 | } |
62 | 62 | ||
63 | QString RestartApplet::text ( ) const | 63 | QString RestartApplet::text ( ) const |
64 | { | 64 | { |
65 | return tr( "Restart Opie" ); | 65 | return tr( "Restart Opie" ); |
66 | } | 66 | } |
67 | 67 | ||
68 | QIconSet RestartApplet::icon ( ) const | 68 | QIconSet RestartApplet::icon ( ) const |
69 | { | 69 | { |
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 | |||
@@ -9,29 +9,27 @@ | |||
9 | **********************************************************************/ | 9 | **********************************************************************/ |
10 | #ifndef __OPIE_RESTART_APPLET_H__ | 10 | #ifndef __OPIE_RESTART_APPLET_H__ |
11 | #define __OPIE_RESTART_APPLET_H__ | 11 | #define __OPIE_RESTART_APPLET_H__ |
12 | 12 | ||
13 | #include <qpe/menuappletinterface.h> | 13 | #include <qpe/menuappletinterface.h> |
14 | 14 | ||
15 | class RestartApplet : public QObject, public MenuAppletInterface | 15 | class RestartApplet : public QObject, public MenuAppletInterface |
16 | { | 16 | { |
17 | public: | 17 | public: |
18 | RestartApplet ( ); | 18 | RestartApplet ( ); |
19 | virtual ~RestartApplet ( ); | 19 | virtual ~RestartApplet ( ); |
20 | 20 | ||
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 |