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 * Full author contact details are available in file CREDITS.
13 #ifndef GUISPELLCHECKER_H
14 #define GUISPELLCHECKER_H
16 #include "GuiDialog.h"
17 #include "ControlSpellchecker.h"
18 #include "ui_SpellcheckerUi.h"
20 class QListWidgetItem;
25 class GuiSpellcheckerDialog : public GuiDialog, public Ui::SpellcheckerUi
30 GuiSpellcheckerDialog(LyXView & lv);
33 void suggestionChanged(QListWidgetItem *);
38 void replaceClicked();
40 void replaceChanged(const QString &);
45 void closeEvent(QCloseEvent * e);
46 /// update from controller
47 void partialUpdate(int id);
49 ControlSpellchecker & controller();
56 void updateContents();
59 } // namespace frontend
62 #endif // GUISPELLCHECKER_H