summaryrefslogtreecommitdiff
path: root/core/applets/restartapplet2/restart.h
authorllornkcor <llornkcor>2002-10-27 15:18:24 (UTC)
committer llornkcor <llornkcor>2002-10-27 15:18:24 (UTC)
commit4ad1fa6d01c9de96d309cd662e658bcb1bb899a5 (patch) (side-by-side diff)
tree1d63d25459fd476f296bf877aaffadc3c7e519fe /core/applets/restartapplet2/restart.h
parent52e4c4a45922c9344c3db7e0a433be66a75d00e0 (diff)
downloadopie-4ad1fa6d01c9de96d309cd662e658bcb1bb899a5.zip
opie-4ad1fa6d01c9de96d309cd662e658bcb1bb899a5.tar.gz
opie-4ad1fa6d01c9de96d309cd662e658bcb1bb899a5.tar.bz2
add new restart applet- for opie menu
Diffstat (limited to 'core/applets/restartapplet2/restart.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/restartapplet2/restart.h37
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 @@
+/**********************************************************************
+** Copyright (C) 2002 ljp <llornkcor@handhelds.org>
+
+** This file may be distributed and/or modified under the terms of the
+** GNU General Public License version 2 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file.
+**
+**********************************************************************/
+#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