blob: ff94bce36e04774aae27df5d523ee481559e9e91 (
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
34
35
36
|
/**
* \file lock.h
* \brief defines a lock button that goes in the 'O' Opie menu
* It's based on the examples/menuapplet code of 2004/10/06.
*/
#ifndef CORE_SETTINGS_SECURITY_LOCKAPPLET_LOCK_H
#define CORE_SETTINGS_SECURITY_LOCKAPPLET_LOCK_H
#include <qpe/menuappletinterface.h>
#include <qobject.h>
class LockMenuApplet: public QObject, public MenuAppletInterface
{
Q_OBJECT
public:
LockMenuApplet ( );
virtual ~LockMenuApplet ( );
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
|