summaryrefslogtreecommitdiff
path: root/examples/exampleboardimpl.h
Unidiff
Diffstat (limited to 'examples/exampleboardimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/exampleboardimpl.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/examples/exampleboardimpl.h b/examples/exampleboardimpl.h
deleted file mode 100644
index 37e2a5f..0000000
--- a/examples/exampleboardimpl.h
+++ b/dev/null
@@ -1,50 +0,0 @@
1#ifndef EXAMPLEBOARDIMPL_H
2#define EXAMPLEBOARDIMPL_H
3
4#include <qhbox.h>
5
6#include <qpe/inputmethodinterface.h>
7
8class QPixmap;
9class QCheckBox;
10class ExampleBoard : public QHBox {
11 Q_OBJECT
12public:
13 ExampleBoard( QWidget *par, WFlags f );
14 ~ExampleBoard();
15 void resetState();
16private slots:
17 void slotKey(int);
18 void slotShift(bool);
19 void slotAlt(bool);
20 void slotCtrl(bool);
21signals:
22 void key(ushort,ushort,ushort,bool,bool);
23private:
24 int m_state;
25 QCheckBox *m_alt,*m_shi,*m_ctrl;
26};
27
28class ExampleboardImpl : public InputMethodInterface
29{
30public:
31 ExampleboardImpl();
32 virtual ~ExampleboardImpl();
33
34#ifndef QT_NO_COMPONENT
35 QRESULT queryInterface( const QUuid&, QUnknownInterface** );
36 Q_REFCOUNT
37#endif
38
39 virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f );
40 virtual void resetState();
41 virtual QPixmap *icon();
42 virtual QString name();
43 virtual void onKeyPress( QObject *receiver, const char *slot );
44
45private:
46 ExampleBoard *m_pickboard;
47 QPixmap *m_icn;
48};
49
50#endif