]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QThesaurus.h
namespace grfx -> lyx::graphics
[lyx.git] / src / frontends / qt2 / QThesaurus.h
1 // -*- C++ -*-
2 /**
3  * \file QThesaurus.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  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QTHESAURUS_H
13 #define QTHESAURUS_H
14
15
16 #include "QDialogView.h"
17
18
19 class ControlThesaurus;
20 class QThesaurusDialog;
21
22 ///
23 class QThesaurus
24         : public QController<ControlThesaurus, QView<QThesaurusDialog> >
25 {
26 public:
27         ///
28         friend class QThesaurusDialog;
29         ///
30         QThesaurus(Dialog &);
31 private:
32         /// Apply changes
33         virtual void apply() {}
34         /// update
35         virtual void update_contents();
36         /// build the dialog
37         virtual void build_dialog();
38
39         /// replace the word
40         void replace();
41 };
42
43 #endif // QTHESAURUS_H