From 4ad1fa6d01c9de96d309cd662e658bcb1bb899a5 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 27 Oct 2002 15:18:24 +0000 Subject: add new restart applet- for opie menu --- (limited to 'core/applets/restartapplet2/restart.h') 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 + +** 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 + +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 -- cgit v0.9.0.2