diff options
Diffstat (limited to 'src/virtualkeyboard/hunspellinputmethod_p.h')
-rw-r--r-- | src/virtualkeyboard/hunspellinputmethod_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/virtualkeyboard/hunspellinputmethod_p.h b/src/virtualkeyboard/hunspellinputmethod_p.h index 1a56defa..a73273b2 100644 --- a/src/virtualkeyboard/hunspellinputmethod_p.h +++ b/src/virtualkeyboard/hunspellinputmethod_p.h @@ -43,6 +43,12 @@ public: HunspellInputMethodPrivate(HunspellInputMethod *q_ptr); ~HunspellInputMethodPrivate(); + enum DictionaryState { + DictionaryNotLoaded, + DictionaryLoading, + DictionaryReady + }; + bool createHunspell(const QString &locale); void reset(); bool updateSuggestions(); @@ -61,6 +67,7 @@ public: int wordCompletionPoint; bool ignoreUpdate; bool autoSpaceAllowed; + DictionaryState dictionaryState; }; } // namespace QtVirtualKeyboard |