3 * \file GuiSpellchecker.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
10 * \author Abdelrazak Younes
12 * Full author contact details are available in file CREDITS.
15 #ifndef GUISPELLCHECKER_H
16 #define GUISPELLCHECKER_H
20 class QListWidgetItem;
28 class GuiSpellchecker : public DockView
33 GuiSpellchecker(GuiView & parent);
37 void on_closePB_clicked();
38 void on_suggestionsLW_itemChanged(QListWidgetItem *);
39 void on_replaceCO_highlighted(const QString & str);
40 void on_ignoreAllPB_clicked();
41 void on_addPB_clicked();
42 void on_ignorePB_clicked();
43 void on_replacePB_clicked();
46 /// update from controller
47 void updateSuggestions(docstring_list & words);
51 bool initialiseParams(std::string const & data);
53 void dispatchParams() {}
54 bool isBufferDependent() const { return true; }
57 /// check text until next misspelled/unknown word
58 /// returns true when finished
60 /// show count of checked words at normal exit
67 } // namespace frontend
70 #endif // GUISPELLCHECKER_H