diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2016-12-18 19:54:04 +0200 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2016-12-19 18:58:05 +0000 |
commit | 25dfc588ac541be99a490ea9a76cc38660504fd2 (patch) | |
tree | e01879e9c0cf8479b46bb46c255c6c905305158a | |
parent | 04a3e74fd2a568db62c7d5eeaab497d02eb73759 (diff) |
Remove deprecated properties from ShiftKey
These properties were not used by the default styles and
already deprecated in version 1.2.
The purpose of removal is to make qml lighter.
Change-Id: Id75b991c3b74a958c4126b666cb95eadb46373a4
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r-- | src/virtualkeyboard/content/components/ShiftKey.qml | 4 | ||||
-rw-r--r-- | src/virtualkeyboard/styles/KeyPanel.qml | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/virtualkeyboard/content/components/ShiftKey.qml b/src/virtualkeyboard/content/components/ShiftKey.qml index b8424a5b..d7705d9f 100644 --- a/src/virtualkeyboard/content/components/ShiftKey.qml +++ b/src/virtualkeyboard/content/components/ShiftKey.qml @@ -48,9 +48,5 @@ BaseKey { highlighted: InputContext.capsLock functionKey: true keyPanelDelegate: keyboard.style ? keyboard.style.shiftKeyPanel : undefined - /*! \internal */ - property bool capsLock: InputContext.capsLock - /*! \internal */ - property bool shift: InputContext.shift onClicked: InputContext.shiftHandler.toggleShift() } diff --git a/src/virtualkeyboard/styles/KeyPanel.qml b/src/virtualkeyboard/styles/KeyPanel.qml index 68bb0850..4e12b9a8 100644 --- a/src/virtualkeyboard/styles/KeyPanel.qml +++ b/src/virtualkeyboard/styles/KeyPanel.qml @@ -52,8 +52,6 @@ Item { \li \c control.enabled Set to true when the key is enabled. \li \c control.pressed Set to true when the key is currently pressed. \li \c control.uppercased Set to true when the key is uppercased. - \li \c control.capsLock Set to true when caps lock is enabled. - \note Deprecated since 1.2. Use \l {InputContext::capsLock} {InputContext.capsLock} instead. \endlist */ property Item control |