diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2023-06-20 22:53:19 +0300 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2023-06-21 08:14:48 +0300 |
commit | defe853ab5236173faaf87eaffe939a814daa365 (patch) | |
tree | 5843ab03670e19609541d40e2f23ac36c261479e /src/virtualkeyboard/doc/snippets | |
parent | 5445b9176119e11de037c3a15442e25ebbcd6a0d (diff) |
Use scoped values in QML for enum classes
This change was made based on feedback on Qt 6.6 api review.
Update all the remaining instances of unscoped enum class usage
in QML to use scoped values.
Remove test for unscoped enums.
Pick-to: 6.6
Change-Id: I8c1147001d41666cbf6fab967ada8981065c28fe
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/virtualkeyboard/doc/snippets')
-rw-r--r-- | src/virtualkeyboard/doc/snippets/CustomInputMethod.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtualkeyboard/doc/snippets/CustomInputMethod.qml b/src/virtualkeyboard/doc/snippets/CustomInputMethod.qml index b4b54aa7..e1ba8985 100644 --- a/src/virtualkeyboard/doc/snippets/CustomInputMethod.qml +++ b/src/virtualkeyboard/doc/snippets/CustomInputMethod.qml @@ -8,7 +8,7 @@ import QtQuick.VirtualKeyboard InputMethod { function inputModes(locale) { - return [InputEngine.Latin]; + return [InputEngine.InputMode.Latin]; } function setInputMode(locale, inputMode) { |