Diffstat (limited to 'core/applets/restartapplet2/restart.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/restartapplet2/restart.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/core/applets/restartapplet2/restart.h b/core/applets/restartapplet2/restart.h new file mode 100644 index 0000000..9536886 --- a/dev/null +++ b/core/applets/restartapplet2/restart.h | |||
@@ -0,0 +1,37 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2002 ljp <llornkcor@handhelds.org> | ||
3 | |||
4 | ** This file may be distributed and/or modified under the terms of the | ||
5 | ** GNU General Public License version 2 as published by the Free Software | ||
6 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
7 | ** packaging of this file. | ||
8 | ** | ||
9 | **********************************************************************/ | ||
10 | #ifndef __OPIE_RESTART_APPLET_H__ | ||
11 | #define __OPIE_RESTART_APPLET_H__ | ||
12 | |||
13 | #include <qpe/menuappletinterface.h> | ||
14 | |||
15 | class RestartApplet : public QObject, public MenuAppletInterface | ||
16 | { | ||
17 | public: | ||
18 | RestartApplet ( ); | ||
19 | virtual ~RestartApplet ( ); | ||
20 | |||
21 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | ||
22 | Q_REFCOUNT | ||
23 | |||
24 | virtual int position() const; | ||
25 | |||
26 | virtual QString name ( ) const; | ||
27 | virtual QIconSet icon ( ) const; | ||
28 | virtual QString text ( ) const; | ||
29 | virtual QPopupMenu *popup ( QWidget *parent ) const; | ||
30 | |||
31 | virtual void activated ( ); | ||
32 | |||
33 | private: | ||
34 | ulong ref; | ||
35 | }; | ||
36 | |||
37 | #endif | ||