00001 /********************************************************************** 00002 ** Copyright (C) 2002 ljp <llornkcor@handhelds.org> 00003 00004 ** This file may be distributed and/or modified under the terms of the 00005 ** GNU General Public License version 2 as published by the Free Software 00006 ** Foundation and appearing in the file LICENSE.GPL included in the 00007 ** packaging of this file. 00008 ** 00009 **********************************************************************/ 00010 #ifndef __OPIE_RESTART_APPLET_H__ 00011 #define __OPIE_RESTART_APPLET_H__ 00012 00013 #include <qpe/menuappletinterface.h> 00014 #include <qobject.h> 00015 00016 class RestartApplet : public QObject, public MenuAppletInterface 00017 { 00018 public: 00019 RestartApplet ( ); 00020 virtual ~RestartApplet ( ); 00021 00022 QRESULT queryInterface( const QUuid&, QUnknownInterface** ); 00023 Q_REFCOUNT 00024 00025 virtual int position() const; 00026 00027 virtual QString name ( ) const; 00028 virtual QIconSet icon ( ) const; 00029 virtual QString text ( ) const; 00030 virtual QPopupMenu *popup ( QWidget *parent ) const; 00031 00032 virtual void activated ( ); 00033 00034 }; 00035 00036 #endif
1.4.2