aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2018-08-21 12:24:35 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2018-08-27 12:43:11 +0000
commitd16972ea958dcf47e9ccd8255d0d83861ba01aae (patch)
tree1216a6650ac1fba474ee06fe53521cff46576026 /examples
parent334116f863bd548532b51ed6f8d71617500fd7b0 (diff)
Trim InputContext API
The purpose of this change is to reduce the number of public API in the virtual keyboard. This change moves a lot of stuff from InputContext to ShiftHandler and InputContextPrivate and exposes the private API to QML through InputContext.priv property. Almost all the unrelevant APIs were moved away, except some properties and methods needed by selection control. These were left intact because moving them is not trivial. Change-Id: I1f23f5f54bc21c68996cb220a66d16d34b5d14ce Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/virtualkeyboard/basic/content/AutoScroller.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/virtualkeyboard/basic/content/AutoScroller.qml b/examples/virtualkeyboard/basic/content/AutoScroller.qml
index 2ea8efb0..b6b7924f 100644
--- a/examples/virtualkeyboard/basic/content/AutoScroller.qml
+++ b/examples/virtualkeyboard/basic/content/AutoScroller.qml
@@ -34,7 +34,7 @@ Item {
property var innerFlickable
property var outerFlickable
- property var inputItem: InputContext.inputItem
+ property var inputItem: InputContext.priv.inputItem
onInputItemChanged: {
innerFlickable = null