-rw-r--r-- | examples/exampleboardimpl.h | 50 |
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 | |||
8 | class QPixmap; | ||
9 | class QCheckBox; | ||
10 | class ExampleBoard : public QHBox { | ||
11 | Q_OBJECT | ||
12 | public: | ||
13 | ExampleBoard( QWidget *par, WFlags f ); | ||
14 | ~ExampleBoard(); | ||
15 | void resetState(); | ||
16 | private slots: | ||
17 | void slotKey(int); | ||
18 | void slotShift(bool); | ||
19 | void slotAlt(bool); | ||
20 | void slotCtrl(bool); | ||
21 | signals: | ||
22 | void key(ushort,ushort,ushort,bool,bool); | ||
23 | private: | ||
24 | int m_state; | ||
25 | QCheckBox *m_alt,*m_shi,*m_ctrl; | ||
26 | }; | ||
27 | |||
28 | class ExampleboardImpl : public InputMethodInterface | ||
29 | { | ||
30 | public: | ||
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 | |||
45 | private: | ||
46 | ExampleBoard *m_pickboard; | ||
47 | QPixmap *m_icn; | ||
48 | }; | ||
49 | |||
50 | #endif | ||