summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod/qcoefepinputcontext_p.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-05-12 13:43:13 (GMT)
committeraxis <qt-info@nokia.com>2009-05-12 13:43:13 (GMT)
commite4cfb0ac1320a1832cedd69495151bc817075a23 (patch)
tree439ae8ae460c2b06be8d8d8e2324e1dd6878cc1e /src/gui/inputmethod/qcoefepinputcontext_p.h
parent3749fcfdb5b6dcf538ceb909f1fec7971fe3a74b (diff)
downloadQt-e4cfb0ac1320a1832cedd69495151bc817075a23.zip
Qt-e4cfb0ac1320a1832cedd69495151bc817075a23.tar.gz
Qt-e4cfb0ac1320a1832cedd69495151bc817075a23.tar.bz2
Fixed the translation from S60 text format to Qt text format in FEP.
This was done by making sure that the format code is called from both start and update, because S60 will often return nothing in start, but then later on return something in update. In addition, we fall back on our own format if S60 does not give us anything. Currently it seems to give us a format only when using predictive text.
Diffstat (limited to 'src/gui/inputmethod/qcoefepinputcontext_p.h')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_p.h b/src/gui/inputmethod/qcoefepinputcontext_p.h
index 9ce9724..50f8a12 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_p.h
+++ b/src/gui/inputmethod/qcoefepinputcontext_p.h
@@ -65,6 +65,7 @@ private:
void commitCurrentString();
void updateHints();
void applyHints(Qt::InputMethodHints hints);
+ void applyFormat(QList<QInputMethodEvent::Attribute> *attributes);
// From MCoeFepAwareTextEditor
public: