Diffstat (limited to 'inputmethods/dasher/QtDasherImpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/dasher/QtDasherImpl.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/inputmethods/dasher/QtDasherImpl.h b/inputmethods/dasher/QtDasherImpl.h new file mode 100644 index 0000000..c143dc3 --- a/dev/null +++ b/inputmethods/dasher/QtDasherImpl.h | |||
@@ -0,0 +1,38 @@ | |||
1 | #ifndef QTDASHERIMPL_H | ||
2 | #define QTDASHERIMPL_H | ||
3 | |||
4 | #include <qpe/inputmethodinterface.h> | ||
5 | #include "QtDasherPlugin.h" | ||
6 | |||
7 | class QtDasher; | ||
8 | class QPixmap; | ||
9 | |||
10 | class QtDasherImpl : public InputMethodInterface | ||
11 | { | ||
12 | public: | ||
13 | QtDasherImpl(); | ||
14 | virtual ~QtDasherImpl(); | ||
15 | |||
16 | #ifndef QT_NO_COMPONENT | ||
17 | QRESULT queryInterface( const QUuid&, QUnknownInterface** ); | ||
18 | Q_REFCOUNT | ||
19 | #endif | ||
20 | |||
21 | virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f ); | ||
22 | virtual void resetState(); | ||
23 | virtual QPixmap *icon(); | ||
24 | virtual QString name(); | ||
25 | virtual void onKeyPress( QObject *receiver, const char *slot ); | ||
26 | |||
27 | private: | ||
28 | CDasherInterface *qtdasherinterface; | ||
29 | QtDasherPlugin *qtdasherwidget; | ||
30 | QPixmap *icn; | ||
31 | ulong ref; | ||
32 | }; | ||
33 | |||
34 | #endif | ||
35 | |||
36 | |||
37 | |||
38 | |||