-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[] = { "$ c #808080", "% c #FFA858", "& c #FFDCA8", "* c #FFFFC0", "= c #FFFFFF", "- c #585858", " .. ", " .. .++. .. ", " .+@.@##@.@+. ", " .@+$@%%@$+@. ", " .$%%&%&%$. ", " ..+@%&$$%&@+.. ", ".+#@%&%@@&*%@#+.", ".$@+$&*&&=*$+@$.", " .--+$&*=&$+--. ", " .$#++$$++#$. ", " .@=$-$++$-$=@. ", " .+@-..@@..-@+. ", " ... .+=. ... ", " .-$. ", " .. ", " "}; RestartApplet::RestartApplet ( ) - : QObject ( 0, "RestartApplet" ), ref ( 0 ) + : QObject ( 0, "RestartApplet" ) { } RestartApplet::~RestartApplet ( ) { } int RestartApplet::position ( ) const { return 4; } QString RestartApplet::name ( ) const { return tr( "Restart" ); } QString RestartApplet::text ( ) const { return tr( "Restart Opie" ); } QIconSet RestartApplet::icon ( ) const { 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 @@ **********************************************************************/ #ifndef __OPIE_RESTART_APPLET_H__ #define __OPIE_RESTART_APPLET_H__ #include <qpe/menuappletinterface.h> class RestartApplet : public QObject, public MenuAppletInterface { public: RestartApplet ( ); virtual ~RestartApplet ( ); QRESULT queryInterface( const QUuid&, QUnknownInterface** ); Q_REFCOUNT virtual int position() const; virtual QString name ( ) const; virtual QIconSet icon ( ) const; virtual QString text ( ) const; virtual QPopupMenu *popup ( QWidget *parent ) const; virtual void activated ( ); -private: - ulong ref; }; #endif |