blob: 3961e3c4f6792544a3d06187fd37d5fde78e8254 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef %{APPNAME}_MENU_APPLET_H
#define %{APPNAME}_MENU_APPLET_H
#include <qpe/menuappletinterface.h>
#include <qobject.h>
class %{APPNAME} : public QObject, public MenuAppletInterface
{
Q_OBJECT
public:
%{APPNAME} ( );
virtual ~%{APPNAME} ( );
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual int position() const;
virtual QString name ( ) const;
virtual QIconSet icon ( ) const;
virtual QString text ( ) const;
/* virtual QString tr( const char* ) const;
virtual QString tr( const char*, const char* ) const;
*/
virtual QPopupMenu *popup ( QWidget *parent ) const;
virtual void activated ( );
};
#endif
|