diff options
Diffstat (limited to 'src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h')
-rw-r--r-- | src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h index 68a4e702..bb9548c0 100644 --- a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h +++ b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.h @@ -47,6 +47,7 @@ QT_BEGIN_NAMESPACE namespace QtVirtualKeyboard { class HunspellInputMethodPrivate; +class HunspellWordList; class HunspellInputMethod : public AbstractInputMethod { @@ -68,6 +69,7 @@ public: int selectionListItemCount(SelectionListModel::Type type); QVariant selectionListData(SelectionListModel::Type type, int index, int role); void selectionListItemSelected(SelectionListModel::Type type, int index); + bool selectionListRemoveItem(SelectionListModel::Type type, int index); bool reselect(int cursorPosition, const InputEngine::ReselectFlags &reselectFlags); @@ -75,7 +77,7 @@ public: void update(); protected Q_SLOTS: - void updateSuggestions(const QStringList &wordList, int activeWordIndex); + void updateSuggestions(const QSharedPointer<HunspellWordList> &wordList, int tag); void dictionaryLoadCompleted(bool success); protected: |