]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QSpellchecker.h
Minipage is no more (long live the box inset)
[lyx.git] / src / frontends / qt2 / QSpellchecker.h
1 // -*- C++ -*-
2 /**
3  * \file QSpellchecker.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Kalle Dalheimer
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QSPELLCHECKER_H
14 #define QSPELLCHECKER_H
15
16
17 #include "Qt2Base.h"
18
19 class ControlSpellchecker;
20 class QSpellcheckerDialog;
21
22
23 class QSpellchecker
24         : public Qt2CB<ControlSpellchecker, Qt2DB<QSpellcheckerDialog> >
25 {
26 public:
27         friend class QSpellcheckerDialog;
28
29         QSpellchecker();
30
31         /// update from controller
32         void partialUpdate(int id);
33 private:
34         void accept();
35         void add();
36         void ignore();
37         void replace();
38
39         /// Apply changes
40         virtual void apply() {}
41         /// not needed
42         virtual void update_contents() {}
43         /// build the dialog
44         virtual void build_dialog();
45 };
46
47 #endif // QSPELLCHECKER_H