aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cerence/xt9/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cerence/xt9/plugin')
-rw-r--r--src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/ja_JP/main.qml1
-rw-r--r--src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_CN/main.qml1
-rw-r--r--src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_TW/main.qml1
-rw-r--r--src/plugins/cerence/xt9/plugin/CMakeLists.txt320
-rw-r--r--src/plugins/cerence/xt9/plugin/cerence_xt9.json12
-rw-r--r--src/plugins/cerence/xt9/plugin/content/layouts/ja_JP/main.qml1
-rw-r--r--src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/main.qml1
-rw-r--r--src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/symbols.qml1
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9awinputmethod_p.h1
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9cpinputmethod.cpp12
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9cpinputmethod_p.h17
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9inputmethodprivate.cpp3
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9jinputmethod_p.h1
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9kinputmethod_p.h1
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9plugin.cpp56
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9plugin.h49
-rw-r--r--src/plugins/cerence/xt9/plugin/xt9thaiinputmethod_p.h1
17 files changed, 79 insertions, 400 deletions
diff --git a/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/ja_JP/main.qml b/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/ja_JP/main.qml
index 738bb096..efc6549b 100644
--- a/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/ja_JP/main.qml
+++ b/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/ja_JP/main.qml
@@ -30,6 +30,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.VirtualKeyboard
+import QtQuick.VirtualKeyboard.Components
KeyboardLayoutLoader {
function createInputMethod() {
diff --git a/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_CN/main.qml b/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_CN/main.qml
index 14fca086..53b46961 100644
--- a/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_CN/main.qml
+++ b/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_CN/main.qml
@@ -30,6 +30,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.VirtualKeyboard
+import QtQuick.VirtualKeyboard.Components
KeyboardLayout {
function createInputMethod() {
diff --git a/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_TW/main.qml b/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_TW/main.qml
index 9b580c15..85cacc71 100644
--- a/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_TW/main.qml
+++ b/src/plugins/cerence/xt9/plugin/9key_layouts/content/layouts/zh_TW/main.qml
@@ -30,6 +30,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.VirtualKeyboard
+import QtQuick.VirtualKeyboard.Components
KeyboardLayout {
function createInputMethod() {
diff --git a/src/plugins/cerence/xt9/plugin/CMakeLists.txt b/src/plugins/cerence/xt9/plugin/CMakeLists.txt
index 23f0b98d..a1a08742 100644
--- a/src/plugins/cerence/xt9/plugin/CMakeLists.txt
+++ b/src/plugins/cerence/xt9/plugin/CMakeLists.txt
@@ -1,12 +1,14 @@
-# Generated from plugin.pro.
-
#####################################################################
## QtVirtualKeyboardXt9Plugin Plugin:
#####################################################################
-qt_internal_add_plugin(QtVirtualKeyboardXt9Plugin
- OUTPUT_NAME qtvirtualkeyboard_cerence_xt9
- PLUGIN_TYPE virtualkeyboard
+qt_internal_add_qml_module(qtvkbcerencext9plugin
+ URI "QtQuick.VirtualKeyboard.Plugins.Cerence.XT9"
+ VERSION "${PROJECT_VERSION}"
+ PLUGIN_TARGET qtvkbcerencext9plugin
+ NO_PLUGIN_OPTIONAL
+ DEPENDENCIES
+ QtQuick.VirtualKeyboard/auto
SOURCES
xt9awinputmethod.cpp xt9awinputmethod_p.h
xt9awinputmethodprivate.cpp xt9awinputmethodprivate_p.h
@@ -18,7 +20,6 @@ qt_internal_add_plugin(QtVirtualKeyboardXt9Plugin
xt9jinputmethodprivate.cpp xt9jinputmethodprivate_p.h
xt9kinputmethod.cpp xt9kinputmethod_p.h
xt9kinputmethodprivate.cpp xt9kinputmethodprivate_p.h
- xt9plugin.cpp xt9plugin.h
xt9thaiinputmethod.cpp xt9thaiinputmethod_p.h
xt9thaiinputmethodprivate.cpp xt9thaiinputmethodprivate_p.h
DEFINES
@@ -29,114 +30,62 @@ qt_internal_add_plugin(QtVirtualKeyboardXt9Plugin
LIBRARIES
Qt::BundledCerencecommon
Qt::BundledXt9Common
- PUBLIC_LIBRARIES
Qt::Core
Qt::Gui
Qt::Qml
Qt::VirtualKeyboardPrivate
)
-#### Keys ignored in scope 1:.:.:plugin.pro:<TRUE>:
-# DISTFILES = "cerence_xt9.json"
-# OTHER_FILES = "$$LAYOUT_FILES"
-# virtualkeyboard_xt9_custom_layouts.base = "$$PWD"
-# virtualkeyboard_xt9_custom_layouts.prefix = "$$LAYOUTS_PREFIX"
-# virtualkeyboard_xt9_layouts.base = "$$LAYOUTS_BASE"
-# virtualkeyboard_xt9_layouts.prefix = "$$LAYOUTS_PREFIX"
-
-## Scopes:
-#####################################################################
-
-#### Keys ignored in scope 3:.:.:plugin.pro:NOT XT9_BINS_ISEMPTY:
-# INSTALLS = "xt9_bins"
-# xt9_bins.files = "$$XT9_BINS"
-
-#### Keys ignored in scope 4:.:.:plugin.pro:WIN32 OR win64:
-# xt9_bins.path = "$$[QT_INSTALL_BINS]"
-
-#### Keys ignored in scope 5:.:.:plugin.pro:else:
-# xt9_bins.path = "$$[QT_INSTALL_LIBS]"
-
-#### Keys ignored in scope 6:.:.:plugin.pro:NOT prefix_build:
-# COPIES = "xt9_bins"
-
-#### Keys ignored in scope 7:.:.:plugin.pro:CONFIG___contains___lang-ja._x_:
-# LAYOUT_FILES = "$$LAYOUTS_BASE/content/layouts/ja_JP/digits.fallback" "$$LAYOUTS_BASE/content/layouts/ja_JP/numbers.fallback" "$$LAYOUTS_BASE/content/layouts/ja_JP/symbols.qml" "$$LAYOUTS_BASE/content/layouts/ja_JP/dialpad.fallback"
-
-#### Keys ignored in scope 11:.:.:plugin.pro:CONFIG___contains___lang-ko._x_:
-# LAYOUT_FILES = "$$LAYOUTS_BASE/content/layouts/ko_KR/digits.fallback" "$$LAYOUTS_BASE/content/layouts/ko_KR/main.qml" "$$LAYOUTS_BASE/content/layouts/ko_KR/numbers.fallback" "$$LAYOUTS_BASE/content/layouts/ko_KR/symbols.qml" "$$LAYOUTS_BASE/content/layouts/ko_KR/dialpad.fallback"
-
-#### Keys ignored in scope 16:.:.:plugin.pro:CONFIG___contains___lang-th._x_:
-# LAYOUT_FILES = "$$LAYOUTS_BASE/content/layouts/th_TH/digits.fallback" "$$LAYOUTS_BASE/content/layouts/th_TH/main.qml" "$$LAYOUTS_BASE/content/layouts/th_TH/numbers.fallback" "$$LAYOUTS_BASE/content/layouts/th_TH/symbols.qml" "$$LAYOUTS_BASE/content/layouts/th_TH/dialpad.fallback"
-
-#### Keys ignored in scope 21:.:.:plugin.pro:CONFIG___contains___lang-zh(_CN?):
-# LAYOUT_FILES = "$$LAYOUTS_BASE/content/layouts/zh_CN/digits.fallback" "$$LAYOUTS_BASE/content/layouts/zh_CN/numbers.fallback" "$$LAYOUTS_BASE/content/layouts/zh_CN/symbols.qml" "$$LAYOUTS_BASE/content/layouts/zh_CN/dialpad.fallback"
-
-#### Keys ignored in scope 25:.:.:plugin.pro:NOT xt9-9key-pinyin AND CONFIG___contains___lang-zh(_CN?):
-# LAYOUT_FILES = "$$LAYOUTS_BASE/content/layouts/zh_CN/main.qml"
-
-#### Keys ignored in scope 26:.:.:plugin.pro:CONFIG___contains___lang-zh(_TW?):
-# LAYOUT_FILES = "$$LAYOUTS_BASE/content/layouts/zh_TW/digits.fallback" "$$LAYOUTS_BASE/content/layouts/zh_TW/numbers.fallback" "$$LAYOUTS_BASE/content/layouts/zh_TW/symbols.qml" "$$LAYOUTS_BASE/content/layouts/zh_TW/dialpad.fallback"
-
-#### Keys ignored in scope 31:.:.:plugin.pro:xt9-9key-pinyin AND CONFIG___contains___lang-zh(_CN?):
-# CUSTOM_LAYOUT_FILES = "$$PWD/content/layouts/zh_CN/main.qml"
-
-#### Keys ignored in scope 32:.:.:plugin.pro:CONFIG___contains___lang-zh(_HK?):
-# CUSTOM_LAYOUT_FILES = "$$PWD/content/layouts/zh_HK/digits.fallback" "$$PWD/content/layouts/zh_HK/numbers.fallback" "$$PWD/content/layouts/zh_HK/symbols.qml" "$$PWD/content/layouts/zh_HK/main.qml" "$$PWD/content/layouts/zh_HK/dialpad.fallback"
-
-#### Keys ignored in scope 38:.:.:plugin.pro:xt9-9key-stroke:
-# CUSTOM_LAYOUT_FILES = "$$PWD/content/layouts/zh_TW/main.qml"
-
set(qmake_virtualkeyboard_xt9_layouts_resource_files)
if (QT_FEATURE_vkb_lang_ja_JP)
list(APPEND qmake_virtualkeyboard_xt9_layouts_resource_files
- "${VKB_LAYOUTS_BASE}/content/layouts/ja_JP/digits.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/ja_JP/numbers.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/ja_JP/symbols.qml"
- "${VKB_LAYOUTS_BASE}/content/layouts/ja_JP/dialpad.fallback"
+ "${VKB_LAYOUTS_BASE}/ja_JP/digits.fallback"
+ "${VKB_LAYOUTS_BASE}/ja_JP/numbers.fallback"
+ "${VKB_LAYOUTS_BASE}/ja_JP/symbols.qml"
+ "${VKB_LAYOUTS_BASE}/ja_JP/dialpad.fallback"
)
endif()
if (QT_FEATURE_vkb_lang_ko_KR)
list(APPEND qmake_virtualkeyboard_xt9_layouts_resource_files
- "${VKB_LAYOUTS_BASE}/content/layouts/ko_KR/digits.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/ko_KR/main.qml"
- "${VKB_LAYOUTS_BASE}/content/layouts/ko_KR/numbers.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/ko_KR/symbols.qml"
- "${VKB_LAYOUTS_BASE}/content/layouts/ko_KR/dialpad.fallback"
+ "${VKB_LAYOUTS_BASE}/ko_KR/digits.fallback"
+ "${VKB_LAYOUTS_BASE}/ko_KR/main.qml"
+ "${VKB_LAYOUTS_BASE}/ko_KR/numbers.fallback"
+ "${VKB_LAYOUTS_BASE}/ko_KR/symbols.qml"
+ "${VKB_LAYOUTS_BASE}/ko_KR/dialpad.fallback"
)
endif()
if (QT_FEATURE_vkb_lang_th_TH)
list(APPEND qmake_virtualkeyboard_xt9_layouts_resource_files
- "${VKB_LAYOUTS_BASE}/content/layouts/th_TH/digits.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/th_TH/main.qml"
- "${VKB_LAYOUTS_BASE}/content/layouts/th_TH/numbers.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/th_TH/symbols.qml"
- "${VKB_LAYOUTS_BASE}/content/layouts/th_TH/dialpad.fallback"
+ "${VKB_LAYOUTS_BASE}/th_TH/digits.fallback"
+ "${VKB_LAYOUTS_BASE}/th_TH/main.qml"
+ "${VKB_LAYOUTS_BASE}/th_TH/numbers.fallback"
+ "${VKB_LAYOUTS_BASE}/th_TH/symbols.qml"
+ "${VKB_LAYOUTS_BASE}/th_TH/dialpad.fallback"
)
endif()
if (QT_FEATURE_vkb_lang_zh_CN)
list(APPEND qmake_virtualkeyboard_xt9_layouts_resource_files
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_CN/digits.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_CN/numbers.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_CN/symbols.qml"
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_CN/dialpad.fallback"
+ "${VKB_LAYOUTS_BASE}/zh_CN/digits.fallback"
+ "${VKB_LAYOUTS_BASE}/zh_CN/numbers.fallback"
+ "${VKB_LAYOUTS_BASE}/zh_CN/symbols.qml"
+ "${VKB_LAYOUTS_BASE}/zh_CN/dialpad.fallback"
)
endif()
if (NOT FEATURE_vkb_cerence_xt9_9key_layouts AND QT_FEATURE_vkb_lang_zh_CN)
list(APPEND qmake_virtualkeyboard_xt9_layouts_resource_files
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_CN/main.qml"
+ "${VKB_LAYOUTS_BASE}/zh_CN/main.qml"
)
endif()
if (QT_FEATURE_vkb_lang_zh_TW)
list(APPEND qmake_virtualkeyboard_xt9_layouts_resource_files
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_TW/digits.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_TW/numbers.fallback"
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_TW/symbols.qml"
- "${VKB_LAYOUTS_BASE}/content/layouts/zh_TW/dialpad.fallback"
+ "${VKB_LAYOUTS_BASE}/zh_TW/digits.fallback"
+ "${VKB_LAYOUTS_BASE}/zh_TW/numbers.fallback"
+ "${VKB_LAYOUTS_BASE}/zh_TW/symbols.qml"
+ "${VKB_LAYOUTS_BASE}/zh_TW/dialpad.fallback"
)
endif()
-qt_internal_add_resource(QtVirtualKeyboardXt9Plugin "qmake_virtualkeyboard_xt9_layouts"
+qt_internal_add_resource(qtvkbcerencext9plugin "qmake_virtualkeyboard_xt9_layouts"
PREFIX
"${VKB_LAYOUTS_PREFIX}"
BASE
@@ -162,11 +111,11 @@ if (QT_FEATURE_vkb_lang_zh_HK)
)
endif()
-qt_internal_add_resource(QtVirtualKeyboardXt9Plugin "qmake_virtualkeyboard_xt9_custom_layouts"
+qt_internal_add_resource(qtvkbcerencext9plugin "qmake_virtualkeyboard_xt9_custom_layouts"
PREFIX
"${VKB_LAYOUTS_PREFIX}"
BASE
- "${CMAKE_CURRENT_SOURCE_DIR}"
+ "${CMAKE_CURRENT_SOURCE_DIR}/content/layouts"
FILES
${qmake_virtualkeyboard_xt9_custom_layouts_resource_files}
)
@@ -178,11 +127,11 @@ if (QT_FEATURE_vkb_lang_zh_TW AND NOT FEATURE_vkb_cerence_xt9_9key_layouts)
"${CMAKE_CURRENT_BINARY_DIR}/content/layouts/zh_TW/main.qml"
)
- qt_internal_add_resource(QtVirtualKeyboardXt9Plugin "qmake_virtualkeyboard_xt9_cangjie_layouts"
+ qt_internal_add_resource(qtvkbcerencext9plugin "qmake_virtualkeyboard_xt9_cangjie_layouts"
PREFIX
"${VKB_LAYOUTS_PREFIX}"
BASE
- "${CMAKE_CURRENT_BINARY_DIR}"
+ "${CMAKE_CURRENT_BINARY_DIR}/content/layouts"
FILES
${qmake_virtualkeyboard_xt9_cangjie_layouts_resource_files}
)
@@ -207,207 +156,12 @@ if (FEATURE_vkb_cerence_xt9_9key_layouts)
)
endif()
- qt_internal_add_resource(QtVirtualKeyboardXt9Plugin "qmake_virtualkeyboard_xt9_9key_layouts"
+ qt_internal_add_resource(qtvkbcerencext9plugin "qmake_virtualkeyboard_xt9_9key_layouts"
PREFIX
"${VKB_LAYOUTS_PREFIX}"
BASE
- "${CMAKE_CURRENT_SOURCE_DIR}/9key_layouts"
+ "${CMAKE_CURRENT_SOURCE_DIR}/9key_layouts/content/layouts"
FILES
${qmake_virtualkeyboard_xt9_9key_layouts_resource_files}
)
endif()
-
-#### Keys ignored in scope 40:.:.:plugin.pro:WIN32:
-# QMAKE_TARGET_DESCRIPTION = "Virtual Keyboard Extension for Qt."
-# QMAKE_TARGET_PRODUCT = "Qt Virtual Keyboard Cerence XT9 (Qt $$QT_VERSION)"
-
-#### Keys ignored in scope 42:.:../..:../../cerence.pri:CERENCE_SDK_ROOT_ISEMPTY:
-# EXT_CERENCE_SDK_ROOT = "$$(CERENCE_SDK_ROOT)"
-
-#### Keys ignored in scope 43:.:../..:../../cerence.pri:NOT EXT_CERENCE_SDK_ROOT_ISEMPTY:
-# CERENCE_SDK_ROOT = "$$EXT_CERENCE_SDK_ROOT"
-
-#### Keys ignored in scope 45:.:../..:../../cerence.pri:CERENCE_SDK_ROOT_ISEMPTY:
-# CERENCE_SDK_ROOT = "$$PWD/sdk"
-
-#### Keys ignored in scope 48:.:../..:../../cerence.pri:QT_ARCH___equals___arm:
-# CERENCE_SHARED_LIB_PATH = "lib/linux/arm/shared"
-# CERENCE_STATIC_LIB_PATH = "lib/linux/arm/static"
-
-#### Keys ignored in scope 50:.:../..:../../cerence.pri:QT_ARCH___equals___arm64:
-# CERENCE_SHARED_LIB_PATH = "lib/linux/arm64/shared"
-# CERENCE_STATIC_LIB_PATH = "lib/linux/arm64/static"
-
-#### Keys ignored in scope 52:.:../..:../../cerence.pri:QT_ARCH___equals___x86_64:
-# CERENCE_SHARED_LIB_PATH = "lib/linux/x86_64/shared"
-# CERENCE_STATIC_LIB_PATH = "lib/linux/x86_64/static"
-
-#### Keys ignored in scope 54:.:../..:../../cerence.pri:QT_ARCH___equals___x86 OR QT_ARCH___equals___i386:
-# CERENCE_SHARED_LIB_PATH = "lib/linux/x86/shared"
-# CERENCE_STATIC_LIB_PATH = "lib/linux/x86/static"
-
-#### Keys ignored in scope 57:.:../..:../../cerence.pri:QT_ARCH___equals___x86_64:
-# CERENCE_SHARED_LIB_PATH = "lib/win32/x86_64/shared"
-# CERENCE_STATIC_LIB_PATH = "lib/win32/x86_64/static"
-
-#### Keys ignored in scope 58:.:../..:../../cerence.pri:else:
-# CERENCE_SHARED_LIB_PATH = "lib/win32/x86/shared"
-# CERENCE_STATIC_LIB_PATH = "lib/win32/x86/static"
-
-#### Keys ignored in scope 60:.:../..:../../cerence.pri:WIN32:
-# result = "$$1/*.obj"
-
-#### Keys ignored in scope 61:.:../..:../../cerence.pri:result_ISEMPTY:
-# result = "$$1/*.lib"
-
-#### Keys ignored in scope 62:.:../..:../../cerence.pri:else:
-# result = "$$1/*.o"
-
-#### Keys ignored in scope 63:.:../..:../../cerence.pri:result_ISEMPTY:
-# result = "$$1/*.a"
-
-#### Keys ignored in scope 65:.:../..:../../cerence.pri:WIN32:
-# result = "$$1/*.lib"
-
-#### Keys ignored in scope 66:.:../..:../../cerence.pri:else:
-# result = "$$1/*.so"
-
-#### Keys ignored in scope 68:.:../..:../../cerence.pri:WIN32:
-# result = "$$1/*.dll"
-
-#### Keys ignored in scope 69:.:../..:../../cerence.pri:else:
-# result = "$$1/*.so"
-
-#### Keys ignored in scope 70:.:../..:../../cerence.pri:EXISTS _ss_CERENCE_HWR_INCLUDEPATH/decuma_hwr.h:
-# CERENCE_HWR_ALPHABETIC_FOUND = "1"
-
-#### Keys ignored in scope 71:.:../..:../../cerence.pri:EXISTS _ss_CERENCE_HWR_INCLUDEPATH/decuma_hwr_cjk.h:
-# CERENCE_HWR_CJK_FOUND = "1"
-
-#### Keys ignored in scope 74:.:../..:../../cerence.pri:NOT cerence-hwr-static:
-# CERENCE_HWR_ALPHABETIC_LIBS = "$$findSharedLibrary($$CERENCE_SDK_ROOT/t9write/$$CERENCE_SHARED_LIB_PATH/alphabetic)"
-
-#### Keys ignored in scope 75:.:../..:../../cerence.pri:NOT CERENCE_HWR_ALPHABETIC_LIBS_ISEMPTY:
-# CERENCE_HWR_ALPHABETIC_BINS = "$$findSharedBinary($$CERENCE_SDK_ROOT/t9write/$$CERENCE_SHARED_LIB_PATH/alphabetic)"
-
-#### Keys ignored in scope 76:.:../..:../../cerence.pri:else:
-# CERENCE_HWR_ALPHABETIC_LIBS = "$$findStaticLibrary($$CERENCE_SDK_ROOT/t9write/$$CERENCE_STATIC_LIB_PATH/alphabetic)"
-
-#### Keys ignored in scope 78:.:../..:../../cerence.pri:NOT cerence-hwr-static:
-# CERENCE_HWR_CJK_LIBS = "$$findSharedLibrary($$CERENCE_SDK_ROOT/t9write/$$CERENCE_SHARED_LIB_PATH/cjk)"
-
-#### Keys ignored in scope 79:.:../..:../../cerence.pri:NOT CERENCE_HWR_CJK_LIBS_ISEMPTY:
-# CERENCE_HWR_CJK_BINS = "$$findSharedBinary($$CERENCE_SDK_ROOT/t9write/$$CERENCE_SHARED_LIB_PATH/cjk)"
-
-#### Keys ignored in scope 80:.:../..:../../cerence.pri:else:
-# CERENCE_HWR_CJK_LIBS = "$$findStaticLibrary($$CERENCE_SDK_ROOT/t9write/$$CERENCE_STATIC_LIB_PATH/cjk)"
-
-#### Keys ignored in scope 81:.:../..:../../cerence.pri:(CERENCE_HWR_ALPHABETIC_FOUND EQUAL 1) AND NOT CERENCE_HWR_ALPHABETIC_LIBS_ISEMPTY:
-# CERENCE_HWR_FOUND = "1"
-
-#### Keys ignored in scope 82:.:../..:../../cerence.pri:(CERENCE_HWR_CJK_FOUND EQUAL 1) AND NOT CERENCE_HWR_CJK_LIBS_ISEMPTY:
-# CERENCE_HWR_FOUND = "1"
-
-#### Keys ignored in scope 83:.:../..:../../cerence.pri:EXISTS _ss_XT9_INCLUDEPATH/et9api.h:
-# XT9_FOUND = "1"
-
-#### Keys ignored in scope 85:.:../..:../../cerence.pri:NOT QT_FEATURE_xt9_static:
-# XT9_LIBS = "$$findSharedLibrary($$CERENCE_SDK_ROOT/xt9/$$CERENCE_SHARED_LIB_PATH)"
-
-#### Keys ignored in scope 86:.:../..:../../cerence.pri:NOT XT9_LIBS_ISEMPTY:
-# XT9_BINS = "$$findSharedBinary($$CERENCE_SDK_ROOT/xt9/$$CERENCE_SHARED_LIB_PATH)"
-
-#### Keys ignored in scope 87:.:../..:../../cerence.pri:else:
-# XT9_LIBS = "$$findStaticLibrary($$CERENCE_SDK_ROOT/xt9/$$CERENCE_STATIC_LIB_PATH)"
-
-#### Keys ignored in scope 133:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:MYSCRIPT_PATH_ISEMPTY:
-# MYSCRIPT_PATH = "$$PWD"
-
-#### Keys ignored in scope 134:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:UNIX AND LINUX AND NOT ANDROID:
-# MYSCRIPT_LIB_PREFIX = "lib"
-# MYSCRIPT_LIB_SUFFIX = ".so"
-# MYSCRIPT_VOIM_LIB_NAME = "libvoim.so"
-# MYSCRIPT_VOIM_LIB_PATH = "$$MYSCRIPT_PATH/$$MYSCRIPT_VOIM_PATH/$$MYSCRIPT_VOIM_LIB_NAME"
-
-#### Keys ignored in scope 135:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___arm64:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-arm64"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-arm64"
-
-#### Keys ignored in scope 137:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___arm:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-armv7"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-armv7"
-
-#### Keys ignored in scope 139:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___x86_64:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-x64"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-x64"
-
-#### Keys ignored in scope 141:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___x86 OR QT_ARCH___equals___i386:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-x86"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-x86"
-
-#### Keys ignored in scope 142:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:else:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-$$QT_ARCH"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-$$QT_ARCH"
-
-#### Keys ignored in scope 144:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:WIN32 OR win64:
-# MYSCRIPT_LIB_PREFIX = ""
-# MYSCRIPT_LIB_SUFFIX = ".dll"
-# MYSCRIPT_VOIM_LIB_NAME = "voim.lib"
-# MYSCRIPT_VOIM_LIB_PATH = "$$MYSCRIPT_PATH/voim/api/c/lib/$$MYSCRIPT_VOIM_LIB_NAME"
-
-#### Keys ignored in scope 145:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___x86_64:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/win-x64"
-# MYSCRIPT_VOIM_PATH = "voim/bin/win-x64"
-
-#### Keys ignored in scope 146:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:else:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/win-x86"
-# MYSCRIPT_VOIM_PATH = "voim/bin/win-x86"
-
-#### Keys ignored in scope 148:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:EXISTS _ss_MYSCRIPT_VOIM_LIB_PATH:
-# MYSCRIPT_FOUND = "1"
-
-#### Keys ignored in scope 150:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:MYSCRIPT_PATH_ISEMPTY:
-# MYSCRIPT_PATH = "$$PWD"
-
-#### Keys ignored in scope 151:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:UNIX AND LINUX AND NOT ANDROID:
-# MYSCRIPT_LIB_PREFIX = "lib"
-# MYSCRIPT_LIB_SUFFIX = ".so"
-# MYSCRIPT_VOIM_LIB_NAME = "libvoim.so"
-# MYSCRIPT_VOIM_LIB_PATH = "$$MYSCRIPT_PATH/$$MYSCRIPT_VOIM_PATH/$$MYSCRIPT_VOIM_LIB_NAME"
-
-#### Keys ignored in scope 152:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___arm64:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-arm64"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-arm64"
-
-#### Keys ignored in scope 154:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___arm:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-armv7"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-armv7"
-
-#### Keys ignored in scope 156:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___x86_64:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-x64"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-x64"
-
-#### Keys ignored in scope 158:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___x86 OR QT_ARCH___equals___i386:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-x86"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-x86"
-
-#### Keys ignored in scope 159:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:else:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/lin-$$QT_ARCH"
-# MYSCRIPT_VOIM_PATH = "voim/bin/lin-$$QT_ARCH"
-
-#### Keys ignored in scope 161:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:WIN32 OR win64:
-# MYSCRIPT_LIB_PREFIX = ""
-# MYSCRIPT_LIB_SUFFIX = ".dll"
-# MYSCRIPT_VOIM_LIB_NAME = "voim.lib"
-# MYSCRIPT_VOIM_LIB_PATH = "$$MYSCRIPT_PATH/voim/api/c/lib/$$MYSCRIPT_VOIM_LIB_NAME"
-
-#### Keys ignored in scope 162:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:QT_ARCH___equals___x86_64:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/win-x64"
-# MYSCRIPT_VOIM_PATH = "voim/bin/win-x64"
-
-#### Keys ignored in scope 163:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:else:
-# MYSCRIPT_ENGINE_PATH = "engine/bin/win-x86"
-# MYSCRIPT_VOIM_PATH = "voim/bin/win-x86"
-
-#### Keys ignored in scope 165:.:../../../../plugins/myscript/3rdparty/myscript:../../../../plugins/myscript/3rdparty/myscript/myscript.pri:EXISTS _ss_MYSCRIPT_VOIM_LIB_PATH:
-# MYSCRIPT_FOUND = "1"
diff --git a/src/plugins/cerence/xt9/plugin/cerence_xt9.json b/src/plugins/cerence/xt9/plugin/cerence_xt9.json
deleted file mode 100644
index 6eb368ed..00000000
--- a/src/plugins/cerence/xt9/plugin/cerence_xt9.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "Name": "xt9",
- "Provider": "Qt Cerence XT9 Extension",
- "InputMethod": [
- "DefaultInputMethod",
- "PinyinInputMethod",
- "StrokeInputMethod",
- "HangulInputMethod",
- "JapaneseInputMethod"
- ],
- "Version": 200
-}
diff --git a/src/plugins/cerence/xt9/plugin/content/layouts/ja_JP/main.qml b/src/plugins/cerence/xt9/plugin/content/layouts/ja_JP/main.qml
index 810ff82a..f92f84f7 100644
--- a/src/plugins/cerence/xt9/plugin/content/layouts/ja_JP/main.qml
+++ b/src/plugins/cerence/xt9/plugin/content/layouts/ja_JP/main.qml
@@ -30,6 +30,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.VirtualKeyboard
+import QtQuick.VirtualKeyboard.Components
KeyboardLayoutLoader {
function createInputMethod() {
diff --git a/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/main.qml b/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/main.qml
index 46a320d0..af95e744 100644
--- a/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/main.qml
+++ b/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/main.qml
@@ -30,6 +30,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.VirtualKeyboard
+import QtQuick.VirtualKeyboard.Components
KeyboardLayout {
keyWeight: 160
diff --git a/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/symbols.qml b/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/symbols.qml
index 4243e783..6e1a186d 100644
--- a/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/symbols.qml
+++ b/src/plugins/cerence/xt9/plugin/content/layouts/zh_HK/symbols.qml
@@ -30,6 +30,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.VirtualKeyboard
+import QtQuick.VirtualKeyboard.Components
KeyboardLayoutLoader {
function createInputMethod() {
diff --git a/src/plugins/cerence/xt9/plugin/xt9awinputmethod_p.h b/src/plugins/cerence/xt9/plugin/xt9awinputmethod_p.h
index 37bf9e1d..6491d69b 100644
--- a/src/plugins/cerence/xt9/plugin/xt9awinputmethod_p.h
+++ b/src/plugins/cerence/xt9/plugin/xt9awinputmethod_p.h
@@ -41,6 +41,7 @@ class Xt9AwInputMethod : public Xt9InputMethod
{
Q_OBJECT
Q_DECLARE_PRIVATE(Xt9AwInputMethod)
+ QML_NAMED_ELEMENT(DefaultInputMethod)
protected:
Xt9AwInputMethod(Xt9AwInputMethodPrivate &dd, QObject *parent = nullptr);
diff --git a/src/plugins/cerence/xt9/plugin/xt9cpinputmethod.cpp b/src/plugins/cerence/xt9/plugin/xt9cpinputmethod.cpp
index ae3d8e0d..225224ac 100644
--- a/src/plugins/cerence/xt9/plugin/xt9cpinputmethod.cpp
+++ b/src/plugins/cerence/xt9/plugin/xt9cpinputmethod.cpp
@@ -175,5 +175,17 @@ void Xt9CpInputMethod::update()
d->reset();
}
+CangjieInputMethod::CangjieInputMethod(QObject *parent) :
+ Xt9CpInputMethod(parent)
+{
+
+}
+
+StrokeInputMethod::StrokeInputMethod(QObject *parent) :
+ Xt9CpInputMethod(parent)
+{
+
+}
+
} // namespace QtVirtualKeyboard
QT_END_NAMESPACE
diff --git a/src/plugins/cerence/xt9/plugin/xt9cpinputmethod_p.h b/src/plugins/cerence/xt9/plugin/xt9cpinputmethod_p.h
index f727dbe4..c4b07563 100644
--- a/src/plugins/cerence/xt9/plugin/xt9cpinputmethod_p.h
+++ b/src/plugins/cerence/xt9/plugin/xt9cpinputmethod_p.h
@@ -41,6 +41,7 @@ class Xt9CpInputMethod : public Xt9InputMethod
{
Q_OBJECT
Q_DECLARE_PRIVATE(Xt9CpInputMethod)
+ QML_NAMED_ELEMENT(PinyinInputMethod)
public:
explicit Xt9CpInputMethod(QObject *parent = nullptr);
@@ -59,6 +60,22 @@ public:
void update();
};
+class CangjieInputMethod : public Xt9CpInputMethod
+{
+ Q_OBJECT
+ QML_NAMED_ELEMENT(CangjieInputMethod)
+public:
+ explicit CangjieInputMethod(QObject *parent = nullptr);
+};
+
+class StrokeInputMethod : public Xt9CpInputMethod
+{
+ Q_OBJECT
+ QML_NAMED_ELEMENT(StrokeInputMethod)
+public:
+ explicit StrokeInputMethod(QObject *parent = nullptr);
+};
+
} // namespace QtVirtualKeyboard
QT_END_NAMESPACE
diff --git a/src/plugins/cerence/xt9/plugin/xt9inputmethodprivate.cpp b/src/plugins/cerence/xt9/plugin/xt9inputmethodprivate.cpp
index 66510475..8f98f9a0 100644
--- a/src/plugins/cerence/xt9/plugin/xt9inputmethodprivate.cpp
+++ b/src/plugins/cerence/xt9/plugin/xt9inputmethodprivate.cpp
@@ -52,6 +52,9 @@ Xt9InputMethodPrivate::Xt9InputMethodPrivate(Xt9InputMethod *q_ptr, Xt9Ime *xt9I
initDone(false),
dlmFileName(aDlmFileName)
{
+#ifdef HAVE_XT9_RESOURCE
+ Q_INIT_RESOURCE(qmake_cerencecommondata_db);
+#endif
}
void Xt9InputMethodPrivate::sysInit()
diff --git a/src/plugins/cerence/xt9/plugin/xt9jinputmethod_p.h b/src/plugins/cerence/xt9/plugin/xt9jinputmethod_p.h
index 95ac2848..59a6708c 100644
--- a/src/plugins/cerence/xt9/plugin/xt9jinputmethod_p.h
+++ b/src/plugins/cerence/xt9/plugin/xt9jinputmethod_p.h
@@ -42,6 +42,7 @@ class Xt9JInputMethod : public Xt9AwInputMethod
Q_OBJECT
Q_DECLARE_PRIVATE(Xt9JInputMethod)
Q_PROPERTY(bool modifyKeyEnabled READ isModifyKeyEnabled NOTIFY modifyKeyEnabledChanged)
+ QML_NAMED_ELEMENT(JapaneseInputMethod)
public:
explicit Xt9JInputMethod(QObject *parent = nullptr);
diff --git a/src/plugins/cerence/xt9/plugin/xt9kinputmethod_p.h b/src/plugins/cerence/xt9/plugin/xt9kinputmethod_p.h
index 9b5623ac..057db2ae 100644
--- a/src/plugins/cerence/xt9/plugin/xt9kinputmethod_p.h
+++ b/src/plugins/cerence/xt9/plugin/xt9kinputmethod_p.h
@@ -41,6 +41,7 @@ class Xt9KInputMethod : public Xt9AwInputMethod
{
Q_OBJECT
Q_DECLARE_PRIVATE(Xt9KInputMethod)
+ QML_NAMED_ELEMENT(HangulInputMethod)
public:
explicit Xt9KInputMethod(QObject *parent = nullptr);
diff --git a/src/plugins/cerence/xt9/plugin/xt9plugin.cpp b/src/plugins/cerence/xt9/plugin/xt9plugin.cpp
deleted file mode 100644
index 9de8805e..00000000
--- a/src/plugins/cerence/xt9/plugin/xt9plugin.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "xt9plugin.h"
-#include "xt9awinputmethod_p.h"
-#include "xt9cpinputmethod_p.h"
-#include "xt9kinputmethod_p.h"
-#include "xt9jinputmethod_p.h"
-#include "xt9thaiinputmethod_p.h"
-#include <QtQml>
-
-QT_BEGIN_NAMESPACE
-
-using namespace QtVirtualKeyboard;
-
-void QtVirtualKeyboardXt9Plugin::registerTypes(const char *uri) const
-{
-#ifdef HAVE_XT9_RESOURCE
- Q_INIT_RESOURCE(qmake_cerencecommondata_db);
-#endif
- qmlRegisterType<Xt9AwInputMethod>(uri, 2, 0, "DefaultInputMethod");
- qmlRegisterType<Xt9CpInputMethod>(uri, 2, 0, "PinyinInputMethod");
- qmlRegisterType<Xt9CpInputMethod>(uri, 2, 0, "CangjieInputMethod");
- qmlRegisterType<Xt9CpInputMethod>(uri, 2, 0, "StrokeInputMethod");
- qmlRegisterType<Xt9KInputMethod>(uri, 2, 0, "HangulInputMethod");
- qmlRegisterType<Xt9JInputMethod>(uri, 2, 0, "JapaneseInputMethod");
- qmlRegisterType<Xt9ThaiInputMethod>(uri, 2, 0, "ThaiInputMethod");
-}
-
-QT_END_NAMESPACE
diff --git a/src/plugins/cerence/xt9/plugin/xt9plugin.h b/src/plugins/cerence/xt9/plugin/xt9plugin.h
deleted file mode 100644
index 9afe3b34..00000000
--- a/src/plugins/cerence/xt9/plugin/xt9plugin.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2021 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:GPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 or (at your option) any later version
-** approved by the KDE Free Qt Foundation. The licenses are as published by
-** the Free Software Foundation and appearing in the file LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef XT9PLUGIN_H
-#define XT9PLUGIN_H
-
-#include <QVirtualKeyboardExtensionPlugin>
-
-QT_BEGIN_NAMESPACE
-
-class QtVirtualKeyboardXt9Plugin : public QVirtualKeyboardExtensionPlugin
-{
- Q_OBJECT
- Q_INTERFACES(QVirtualKeyboardExtensionPlugin)
- Q_PLUGIN_METADATA(IID QVirtualKeyboardExtensionPluginFactoryInterface_iid
- FILE "cerence_xt9.json")
-public:
- void registerTypes(const char *uri) const;
-};
-
-QT_END_NAMESPACE
-
-#endif
diff --git a/src/plugins/cerence/xt9/plugin/xt9thaiinputmethod_p.h b/src/plugins/cerence/xt9/plugin/xt9thaiinputmethod_p.h
index 0611db34..95d365d4 100644
--- a/src/plugins/cerence/xt9/plugin/xt9thaiinputmethod_p.h
+++ b/src/plugins/cerence/xt9/plugin/xt9thaiinputmethod_p.h
@@ -41,6 +41,7 @@ class Xt9ThaiInputMethod : public Xt9AwInputMethod
{
Q_OBJECT
Q_DECLARE_PRIVATE(Xt9ThaiInputMethod)
+ QML_NAMED_ELEMENT(ThaiInputMethod)
public:
explicit Xt9ThaiInputMethod(QObject *parent = nullptr);