src/hbplugins/inputmethods/common/hbinputmodehandler.h
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 5 627c4a0fd0e7
--- a/src/hbplugins/inputmethods/common/hbinputmodehandler.h	Mon May 03 12:48:33 2010 +0300
+++ b/src/hbplugins/inputmethods/common/hbinputmodehandler.h	Fri May 14 16:09:54 2010 +0300
@@ -83,14 +83,13 @@
     virtual bool filterEvent(const QEvent * event);
 
     // Utility functions.
-    void commitFirstMappedNumber(int key);
+    void commitFirstMappedNumber(int key, HbKeyboardType type);
     void getAndFilterCharactersBoundToKey(QStringList &list, Qt::Key key);
-    QChar getNthCharacterInKey(int &index, int key);
+    QChar getNthCharacterInKey(int &index, int key, HbKeyboardType type);
     virtual void commitAndAppendString(const QString& string);
     virtual void commitAndUpdate(const QString& string, int replaceFrom = 0, int replaceLength = 0, bool isAsync = false);
     void sendAndUpdate(QEvent &event);
     virtual void setKeymap(const HbKeymap* keymap);
-    virtual void characterPreviewAvailable(bool available);
 	void togglePrediction();
 
 signals:
@@ -117,8 +116,6 @@
     Q_PRIVATE_SLOT(d_func(), virtual void _q_timeout())
 };
 
-// long press constant.
-const int HbLongPressTimerTimeout = 600;
 // multi tap constant
 const int HbMultiTapTimerTimeout = 600;