aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Restore InputContext.inputItem property removed in 5.12 releaseJarkko Koivikko2019-02-202-0/+25
| | | | | | | | | | | | | | | This API was removed in 5.12 release as part of refactoring. However, based on user reports, it is somewhat used in applications, though it was originally intended for internal use. This change brings it back to the public as deprecated. [ChangeLog][InputContext] Restore InputContext.inputItem property removed in 5.12 release. Task-number: QTBUG-72494 Change-Id: I1fda2ae3671bf784839f395345dca3402be35d05 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Register QtQuick.VirtualKeyboard.Plugins version 2.3Andy Shaw2019-01-101-0/+1
| | | | | | | | | | Since the virtual keyboard is still usable even without the plugins, then it should have the latest version registered here instead of depending on the plugins to do it for us. Change-Id: I109e2f452341defbd78831235a35c494d5e44ff6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Fix documentation issuesTopi Reinio2019-01-049-50/+134
| | | | | | | | | | | This commit fixes multiple documentation warnings - typos, missing documentation, missing \internal specifiers, linking problems and incorrect documentation configuration which caused Clang to fail to build a precompiled header for QtVirtualKeyboard. Change-Id: I33baf730a98747842a7813bb6ea3a3545927410b Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Martin Smith <martin.smith@qt.io>
* Doc: Fix name of SelectionListModel QML typeTopi Reinio2018-12-141-8/+8
| | | | | | | | And also fix the the description to discuss QML types instead of the C++ types that they instantiate. Change-Id: I25c0ca4e6ec3b03b61f1b4ab7fb9124a34e03f6e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Add version information about third-party Lipi ToolkitKai Koehne2018-12-051-2/+4
| | | | | | | | Also complete Copyright attributes, and add a DownloadLocation link. Task-number: QTBUG-72229 Change-Id: I220d6a4a953abd0f1c6c0083f4e65564db9c904b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.12.0' into 5.12Qt Forward Merge Bot2018-12-0514-1342/+190
|\ | | | | | | Change-Id: If8bf45af1625de901e589bb8e1c119a02d5e35d6
| * Update plugins.qmltypesv5.12.0-rc2v5.12.0-rc1v5.12.0Kai Koehne2018-11-154-1333/+138
| | | | | | | | | | | | Change-Id: I896b8d82a817a1d31cb5b560f72d00b66144c1df Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| * Restrict more sensitive debugging outputMitch Curtis2018-11-149-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | There are more places where sensitive information could accidentally be disclosed. Also, move SENSITIVE_DEBUG to config.pri so that plugins can use it. Change-Id: Ifa4ccbd6bf4bf79412f29984c662c9e58ea01992 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Yuntaek Rim <yuntaek.rim@myscript.com>
| * Restrict more sensitive logging outputMitch Curtis2018-11-071-3/+17
| | | | | | | | | | | | | | c7a94110 missed some output. Change-Id: If2f1487dad2581f283800a13b8f791ccc7af1a59 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* | Fix compilation with gcc 4.8Ville Voutilainen2018-12-032-3/+2
| | | | | | | | | | | | | | | | | | GCC 4.8 doesn't like using QPointer in signal connections, and it also doesn't like duplicate friend declarations. Change-Id: I08a775c056ae642e90725f26bc44baa9691eafaf Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* | Doc: remove namespaceMitch Curtis2018-11-291-7/+0
| | | | | | | | | | | | | | | | | | The namespace was removed from the public API as part of the API review. Change-Id: Iebb11c0edf03ecc0f8c713c9786b703822fbd175 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | plugins/openwnn: Add missing log printsJarkko Koivikko2018-11-281-0/+6
| | | | | | | | | | | | | | | | OpenWnn ComposingText::debugout() function was missing log prints. Change-Id: I2d452e4db08ec97d3986a25e9d002bdb18fef82d Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Doc: Update MyScript contact email addressTopi Reinio2018-11-261-1/+1
|/ | | | | | Change-Id: I60ee3a385fee98130434657b88663d4ddd1e50dc Reviewed-by: Yuntaek Rim <yuntaek.rim@myscript.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Rename dependency to Qt Quick ControlsTopi Reinio2018-10-311-1/+1
| | | | | | | | | The documentation module for Qt Quick Controls 2 is now named simply 'qtquickcontrols'. Task-number: QTBUG-70333 Change-Id: Iba7d910c80f2c3f7fc919c64f94ca52114ec0d82 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-10-292-3/+16
|\ | | | | | | | | | | | | Conflicts: src/virtualkeyboard/qvirtualkeyboardinputcontext.cpp Change-Id: I153a6470bb291cffc75536eb44e9cf8c0973e6b8
| * Be more restrictive about which information is included in loggingMitch Curtis2018-10-262-3/+15
| | | | | | | | | | | | | | | | | | | | - Introduce SENSITIVE_DEBUG flag that should be explicitly enabled in order to have certain information included in logging output. - Replace qWarning() with qCWarning() where appropriate. Change-Id: I6386f9cb3ce375101f3c42f407d4af380f1ff75e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* | t9write: Fix support line settingv5.12.0-beta3v5.12.0-beta2Jarkko Koivikko2018-10-111-2/+10
| | | | | | | | | | | | | | | | | | | | | | Some languages (such as Thai) use support lines for improved recognition accuracy. While these support lines were properly shown in the keyboard layout, they were not applied to the engine settings. This change fixes the support line setting. Change-Id: I9873b90842dabcd7b3cc9eeb1fc525df1bfc9989 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | t9write: Add Thai handwriting recognitionJarkko Koivikko2018-10-1112-11/+160
| | | | | | | | | | | | | | [ChangeLog] Added Thai handwriting recognition (T9 Write). Change-Id: Idb34fcf07d0318bbca6e6573e5859edb375f205f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Qt Forward Merge Bot2018-10-021-0/+1
|\| | | | | | | Change-Id: Id4890b7444ab7d76e218ae0a82fb4f16619c2c89
| * Do show module license on all help pagesKai Koehne2018-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt Virtual Keyboard has a different main license than most other Qt modules, which is easy to miss. We do show the license on the module landing page and in the 'All modules' overview page, but if you directly open an example or a class page you can still miss this. This change adds the main license description to the header shared by all pages of the module; we (mis)use the buildversion variable for that, which was so far unused. Right now qdoc does not 'linkify' the entry. It could add a generic link to the landing page though, where the license is also described. Task-number: QTBUG-70354 Change-Id: I5f271b1bcba6992abfd1ad7e213fc5f2a93a0d25 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | myscript: document updatev5.12.0-beta1Yuntaek Rim2018-09-302-0/+114
| | | | | | | | | | Change-Id: Iccddb8d9492a3c13de7b1b9d3a6f7dd68b5f86f1 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | Qtify new APIMitch Curtis2018-09-2723-207/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "is" to C++ getter functions returning bool (where applicable). Add "Active" to "shift" and "capsLock" QML properties, etc. By making these names more explicit, it's clearer what they do and also future-proofs the API by allowing us to add related properties in the future if necessary. [ChangeLog][InputContext] Deprecated shift and capsLock properties in favor of shiftActive and capsLockActive. Change-Id: I66f2c85b50622a6e5fe6b25fb24f13be27acaf9d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Qt Forward Merge Bot2018-09-252-1/+3
|\| | | | | | | Change-Id: I8aab893466cfc476a4017b082700cfe4cb678dcd
| * Doc: Use correct image in virtual keyboard layout docsPaul Wicking2018-09-241-1/+1
| | | | | | | | | | | | Task-number: QTBUG-70602 Change-Id: I04a7015b6ee41dd9676f8b5859399e9758e7de1f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| * Fix word candidate list auto hidingJarkko Koivikko2018-09-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop auto hide timer when the word candidate list is not empty. Constantly failing CI bot revealed this error: agent:2018/09/24 07:50:50 build.go:193: FAIL! : inputpanel::tst_plugin::test_zhuyinInputMethod(row 17) 'Expected wordCandidateView to have a currentItem, but it's null. Its property values at the time of failure are: x=0 y=-9.478976 width=400 height=13 count=0 flicking=false moving=false visible=false' returned FALSE. () Task-number: QTBUG-62518 Task-number: QTBUG-61279 Task-number: QTQAINFRA-2226 Change-Id: I775aa834da9809008a34fc760e994610ad6e95a8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | myscript: fix handwriting layout linkageYuntaek Rim2018-09-202-1/+2
| | | | | | | | | | | | Change-Id: I2e25a36ae4ea5674dbcc476db39e5b7798d16bac Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | myscript: modify build.qdoc for MyScript descriptionv5.12.0-alpha1Yuntaek Rim2018-09-121-10/+10
| | | | | | | | | | Change-Id: Id6df1b07f3be2d09f2ab1ed832be1b2e09278df4 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | Add export to HunspellWordListSamuli Piippo2018-09-111-1/+2
| | | | | | | | | | | | | | | | | | | | As Hunspell is now a dynamic library, make sure all required classes are exported. Fix error lipiinputmethod.cpp:279: undefined reference to `QtVirtualKeyboard::HunspellWordList::index() const' Change-Id: I24bbc97ba33d55716d7aa519c891004975960c3b Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Enable layout mirroring for word candidate listJarkko Koivikko2018-09-073-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change 4a92afe75bfb7886ecb1b3282b05b2985c39fe3c disabled layout mirroring for virtual keyboard. This change enables layout mirroring for word candidate list. Changes to navigation cursor logic are necessary, so that navigation cursor follows text direction. Task-number: QTBUG-70041 Change-Id: I59ec8968294c1c342e10f718dbd2360f25378956 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Fix string castJarkko Koivikko2018-09-0739-115/+239
| | | | | | | | | | | | | | | | Enforce proper string cast using QT_NO_CAST_TO_ASCII and friends. Change-Id: I039b23144c8d57f12aad1c27f29654b382078222 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Fix resource initialization in static buildJarkko Koivikko2018-09-0613-38/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resources used by qtvirtualkeyboard must (still) be initialized manually in static build. The reason for this is that the resources are located in the virtualkeyboard module, not in the plugin. Layouts resources in plugins must have unique name. This change renames the layouts resource file in each plugin. Otherwise the Q_INIT_RESOURCE does not work, since all use the same name. Finally, rename the static resource files to avoid using too generic name and clash with the user application. Change-Id: I53054605f14ff8a7b61ce2736f61e456b6c3ee88 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Prefix all the extension plugins classes with QtVirtualKeyboardJarkko Koivikko2018-09-0627-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For static plugin import, the import should look like: Q_IMPORT_PLUGIN(QtVirtualKeyboardHunspellPlugin) and not like: Q_IMPORT_PLUGIN(HunspellPlugin) Change-Id: I977cc116d6394c6ce81041a8c3df6077a55ad98d Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Move QML types registration to import modulesJarkko Koivikko2018-09-0668-2278/+3236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the QML type registration from platform input context plugin to respective QML plugins: QtQuick.VirtualKeyboard (import.pro) QtQuick.VirtualKeyboard.Settings (settings.pro) Input method types (e.g. from the virtual keyboard plugins) are still registered in the qtvirtualkeyboard module, but with new URI: QtQuick.VirtualKeyboard.Plugins (plugin.pro) This change is necessary, because the Quick.VirtualKeyboard URI is now reserved for the QML module. Like before, the Quick.VirtualKeyboard module cannot be used without setting QT_IM_MODULE=qtvirtualkeyboard environment variable. The main motivation for this change was to make plugins.qmltypes generation possible for C++ based QML types. Change-Id: Ieb449eb73e0fa33e9a1686d471cc4284982ea1bd Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-09-051-9/+11
|\| | | | | | | | | | | | | Conflicts: src/virtualkeyboard/platforminputcontext.cpp Change-Id: Ic12049c5bfa598fff6e6c896a9b6ee73f664b681
| * Partially revert 30479f9771e60938dc0f6e325e3b16fb52663796Andy Shaw2018-09-051-9/+11
| | | | | | | | | | | | | | | | | | | | With the 30479f9771e60938dc0f6e325e3b16fb52663796 patch applied it would mean that the keyboard would not show up in desktop mode. Therefore the patch is partially reverted to still have the original crash fix without introducing a new bug. Change-Id: I1a0c84eef0a592990ccd7ff754069ad150dc7a69 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Doc: Divide long lists into several columnsTopi Reinio2018-08-302-31/+48
| | | | | | | | | | | | | | This preserves space and improves readability Change-Id: I22b6d8f8e333b7b3cc74c22be80b21d74fdfe7ed Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* | Build QtHunspellInputMethod module as shared libraryJarkko Koivikko2018-08-308-19/+70
| | | | | | | | | | | | | | | | | | | | | | This module provides the HunspellInputMethod (which serves as the DefaultInputMethod). The module is also shared by ThaiInputMethod and LipiInputMethod, which create specialized version of the HunspellInputMethod. The module was built as static library, which caused unnecessary bloat when linking above mentioned plugins. Change-Id: I35a13fdd89d34d927176ccaabb96420928c10584 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-08-306-23/+63
|\| | | | | | | | | | | | | | | Conflicts: src/virtualkeyboard/doc/qtvirtualkeyboard.qdocconf src/virtualkeyboard/platforminputcontext.cpp Change-Id: I3056b9cd19eb6c38fac1ad73eaac1945d816cc57
| * Fix possible crash in PlatformInputContext::updateJarkko Koivikko2018-08-291-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | Under some condition, QPlatformInputContext::update is called before our (QML) input context is created. This will result in crash if desktop integration is also enabled, since null pointer check is missing. [ChangeLog] Fixed possible crash in PlatformInputContext::update. Task-number: QTBUG-67595 Change-Id: I19c78dbf19cf3c2a72193c2e2a60f46995c1f6ad Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| * Disable layout mirroring for virtual keyboardJarkko Koivikko2018-08-282-0/+6
| | | | | | | | | | | | | | | | | | | | | | When layout mirroring is enabled for an application using virtual keyboard, the keyboard layout is also mirrored. This change disables layout mirroring for virtual keyboard. Task-number: QTBUG-70041 Change-Id: I097ae7fe907a463ef53e5f39f357c61d57bbb9c0 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
| * Fix duplicated selection handle on desktop integrationJarkko Koivikko2018-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | SelectionControl on the InputPanel was not disabled when using desktop integration. This caused duplicated handles to appear on screen. This change disables the SelectionControl when desktop integration is used. Task-number: QTBUG-60321 Change-Id: Icf7cab4bdeacade16bbe2b1eb2078baceb955d5e Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
| * Doc: improve integration documentation, especially regarding WaylandMitch Curtis2018-08-233-12/+47
| | | | | | | | | | | | Change-Id: Id27ebb78001ff060d67917e9ac69f75682a885ac Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | Fix default values for selectionListDataJarkko Koivikko2018-08-301-0/+4
| | | | | | | | | | | | | | | | | | | | QVirtualKeyboardAbstractInputMethod::selectionListData did not return proper default values for newly added roles. The default values are safe for any input method not implementing these roles. Change-Id: Ife88567f2e519f6a7c5a913d41904afdb6140dff Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Fix handling of invalid VirtualKeyboardSettings.activeLocalesJarkko Koivikko2018-08-301-23/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If VirtualKeyboardSettings.activeLocales contains value(s) but not any value which is actually available, the available locale was set to contain only the first installed locale. Previously, before the layout fallback improvement, it was set to "en_GB" only. This change fixes the issue and treats invalid activeLocales as if it is empty (default). This means the default locale is set as normal. Change-Id: I8377d0f28d9217b896aa446fe6037f32943e72f4 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | t9write: Improve error messagesJarkko Koivikko2018-08-301-12/+22
| | | | | | | | | | | | | | | | Change specific warnings to critical messages. Add error message for missing HWR database. Change-Id: Icd0e1b88b9a5102bf7f07ced5f2198e0616048e9 Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | t9write: Change EngineMode enum to enum classJarkko Koivikko2018-08-302-60/+60
| | | | | | | | | | | | | | | | Change EngineMode enum to enum class and move to T9WriteInputMethod class for meta type info. Change-Id: Idd7abb6c54f4ba1960a2517c4af4d423728d9e5f Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Fix regression in arrow key navigationJarkko Koivikko2018-08-301-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | When word candidate view contained items and an alternative keys view was opened by long press key, the word candidate item was selected together with alternative key. This regression was introduced in commit e803aec1ea21fd00e13b9535a4b536cc43c26ee4 Change-Id: Ie6f7e1580ddcc5327104eafafc3a10c86e9abb65 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Fix build dependency for Thai pluginJarkko Koivikko2018-08-301-1/+4
| | | | | | | | | | | | | | | | Thai plugin may depend on the QtHunspellInputMethod, so add the missing dependency. Change-Id: I966989a9b7fc5d3b250240740048dba40aa6014a Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Use enum class in the input context private state flagsJarkko Koivikko2018-08-283-41/+67
| | | | | | | | | | | | | | | | | | | | | | Rename enum QVirtualKeyboardInputContextPrivate::StateFlag to ::State and use strongly typed enum. Simplify the state handling with new class QVirtualKeyboardScopedState. Change-Id: I124d53e7094e3b8056b7697d5e6f88d5e8b71b78 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Use enum class in the public APIJarkko Koivikko2018-08-28101-543/+572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was suggested in the API review. All the "old" enums are backwards compatible in QML, since unscoped values are enabled by default. Added the following new enum values maintaining compatibility (in QML): - QVirtualKeyboardInputEngine::PatternRecognitionMode::None (same as PatternRecognitionDisabled) - QVirtualKeyboardInputEngine::PatternRecognitionMode::Handwriting (same as HandwritingRecoginition) - QVirtualKeyboardSelectionListModel::Role::Display (same as DisplayRole) - QVirtualKeyboardSelectionListModel::Role::WordCompletionLength (same as WordCompletionLengthRole) Renamed the following enum values (new in 5.12): - QVirtualKeyboardSelectionListModel::Role::Dictionary (was DictionaryTypeRole) - QVirtualKeyboardSelectionListModel::Role::CanRemoveSuggestion (was CanRemoveSuggestionRole) - QVirtualKeyboardSelectionListModel::DictionaryType::Default (was DefaultDictionary) - QVirtualKeyboardSelectionListModel::DictionaryType::User (was UserDictionary) Added missing Q_DECLARE_METATYPE for: - QVirtualKeyboardInputEngine::PatternRecognitionMode - QVirtualKeyboardInputEngine::ReselectFlag - QVirtualKeyboardSelectionListModel::DictionaryType The enums can be found in: - src/virtualkeyboard/qvirtualkeyboardinputengine.h - src/virtualkeyboard/qvirtualkeyboardselectionlistmodel.h Added a test case for verifying QML enum values. Change-Id: I16749af71aadd762e9c303b5c682b2888afaa672 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>