83 virtual void mouseHandler(int x, QMouseEvent* mouseEvent); |
83 virtual void mouseHandler(int x, QMouseEvent* mouseEvent); |
84 virtual bool filterEvent(const QEvent * event); |
84 virtual bool filterEvent(const QEvent * event); |
85 |
85 |
86 // Utility functions. |
86 // Utility functions. |
87 void commitFirstMappedNumber(int key, HbKeyboardType type); |
87 void commitFirstMappedNumber(int key, HbKeyboardType type); |
88 void getAndFilterCharactersBoundToKey(QStringList &list, Qt::Key key); |
88 void getAndFilterCharactersBoundToKey(QString &allowedChars, HbKeyboardType type, int key, HbModifiers modifiers); |
89 virtual QChar getNthCharacterInKey(int &index, int key, HbKeyboardType type); |
89 virtual QChar getNthCharacterInKey(int &index, int key, HbKeyboardType type); |
90 virtual void commitAndAppendString(const QString& string); |
90 virtual void commitAndAppendString(const QString& string); |
91 virtual void commitAndUpdate(const QString& string, int replaceFrom = 0, int replaceLength = 0, bool isAsync = false); |
91 virtual void commitAndUpdate(const QString& string, int replaceFrom = 0, int replaceLength = 0, bool isAsync = false); |
92 void sendAndUpdate(QEvent &event); |
92 void sendAndUpdate(QEvent &event); |
93 virtual void setKeymap(const HbKeymap* keymap); |
93 virtual void setKeymap(const HbKeymap* keymap); |