diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2021-01-27 14:27:08 +0200 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2021-01-29 13:30:30 +0200 |
commit | e923b4f1b7f436d0f02762605d518f8af94d9484 (patch) | |
tree | c8d0ff9bb750ad565916999e6588597b33ec067e /src/virtualkeyboard/settings_p.h | |
parent | 5b81a2895b1ef6073220a50f8ff81f57c50db388 (diff) |
Add new setting for input method hints
This property allows to set persistent input method hints.
[ChangeLog] Add new setting VirtualKeyboardSettings.inputMethodHints,
which allows the application to set persistent application wide
input method hints.
Change-Id: Iaa54a360d80c5def88f53aa8b8510c7cf041208c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/virtualkeyboard/settings_p.h')
-rw-r--r-- | src/virtualkeyboard/settings_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/virtualkeyboard/settings_p.h b/src/virtualkeyboard/settings_p.h index b2052ac8..2b5fd33b 100644 --- a/src/virtualkeyboard/settings_p.h +++ b/src/virtualkeyboard/settings_p.h @@ -100,6 +100,9 @@ public: int hwrTimeoutForCjk() const; void setHwrTimeoutForCjk(int hwrTimeoutForCjk); + Qt::InputMethodHints inputMethodHints() const; + void setInputMethodHints(const Qt::InputMethodHints &inputMethodHints); + signals: void styleChanged(); void styleNameChanged(); @@ -115,6 +118,7 @@ signals: void userDataReset(); void hwrTimeoutForAlphabeticChanged(); void hwrTimeoutForCjkChanged(); + void inputMethodHintsChanged(); }; } // namespace QtVirtualKeyboard |