blob: ec507ddb5ab475477633d1a5b5aaf7197c6245dc (
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
33
|
#ifndef OPIE_EXAMPLE_MENU_APPLET_H
#define OPIE_EXAMPLE_MENU_APPLET_H
#include <qpe/menuappletinterface.h>
#include <qobject.h>
#include <qobject.h>
class MenuAppletExample : public QObject, public MenuAppletInterface
{
Q_OBJECT
public:
MenuAppletExample ( );
virtual ~MenuAppletExample ( );
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
|