diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-05-09 13:21:11 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-05-09 13:21:11 (GMT) |
commit | 0dce79459e4ac5b2ed64c01052206e21764d8933 (patch) | |
tree | 38c6d28e95054edea1eb7db771e043f0c0974d4a /src/gui/kernel | |
parent | fa53804c12e692d29421e22e2c59f6aff2d519e7 (diff) | |
download | Qt-0dce79459e4ac5b2ed64c01052206e21764d8933.zip Qt-0dce79459e4ac5b2ed64c01052206e21764d8933.tar.gz Qt-0dce79459e4ac5b2ed64c01052206e21764d8933.tar.bz2 |
Provide internal API to avoid automatic translation of input widget
There will be cases when client will want to disable splitview
automatic view translation, so that keyboard is just brought on top of
the application and no other actions happen. There will be no new
public Qt GUI API to cover the cases (the public API will come from
QML Components), but the implementation is done with new private API.
Task-number: QTBUG-18716
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qt_s60_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qt_s60_p.h b/src/gui/kernel/qt_s60_p.h index 02977ce..c5f7751 100644 --- a/src/gui/kernel/qt_s60_p.h +++ b/src/gui/kernel/qt_s60_p.h @@ -159,6 +159,7 @@ public: int menuBeingConstructed : 1; int orientationSet : 1; int partial_keyboard : 1; + int partial_keyboardAutoTranslation : 1; QApplication::QS60MainApplicationFactory s60ApplicationFactory; // typedef'ed pointer type QPointer<QWidget> splitViewLastWidget; @@ -348,6 +349,7 @@ inline QS60Data::QS60Data() menuBeingConstructed(0), orientationSet(0), partial_keyboard(0), + partial_keyboardAutoTranslation(1), s60ApplicationFactory(0) #ifdef Q_OS_SYMBIAN ,s60InstalledTrapHandler(0) |