summaryrefslogtreecommitdiff
path: root/inputmethods/dasher/QtDasherImpl.h
blob: 69e278c0e5ccad360d8d4494828b78304ed4c087 (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
37
#ifndef QTDASHERIMPL_H
#define QTDASHERIMPL_H

#include <qpe/inputmethodinterface.h>
#include "QtDasherPlugin.h"

class QtDasher;
class QPixmap;

class QtDasherImpl : public InputMethodInterface
{
public:
    QtDasherImpl();
    virtual ~QtDasherImpl();

#ifndef QT_NO_COMPONENT
    QRESULT queryInterface( const QUuid&, QUnknownInterface** );
    Q_REFCOUNT
#endif

    virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f );
    virtual void resetState();
    virtual QPixmap *icon();
    virtual QString name();
    virtual void onKeyPress( QObject *receiver, const char *slot );

private:
    CDasherInterface *qtdasherinterface;
    QtDasherPlugin *qtdasherwidget;
    QPixmap *icn;
};

#endif