path: root/src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h
diff options
authorSimon Hausmann <>2012-01-31 12:28:52 +0100
committerQt by Nokia <>2012-01-31 19:57:33 +0100
commitfe7265a0bbe4da9577fecd8cb9be22262523f65b (patch)
tree8b0e57722b1eee8f1f5e5aaba07079cfd513b416 /src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h
parentb27bf9bb94ff40b7e4f69d7f0cb606e12baa2fe2 (diff)
Maliit: Fix enter on VKB not resulting in text input field acceptance
Pressing enter on the VKB should result in the emission of the accepted() for text input fields in QML or the returnPressed() signal in QLineEdit. In that case the Maliit input server calls our keyEvent method over DBus, which this patch implements. Change-Id: I46170c30315adaf21db0e232f53780ccaa67e4bf Reviewed-by: Jan Arne Petersen <> Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h b/src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h
index 61960e8e8f..3760885641 100644
--- a/src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h
+++ b/src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.h
@@ -76,7 +76,7 @@ public Q_SLOTS:
void updatePreedit(const QDBusMessage &message);
void copy();
void imInitiatedHide();
- void keyEvent(int , int , int , const QString &, bool , int , uchar );
+ void keyEvent(int type, int key, int modifiers, const QString &text, bool autoRepeat, int count, uchar requestType_);
void paste();
bool preeditRectangle(int &x, int &y, int &width, int &height);
bool selection(QString &selection);