]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QNomencl.h
renaming in frontends/qt4/ui: s/Q//g
[lyx.git] / src / frontends / qt4 / QNomencl.h
1 // -*- C++ -*-
2 /**
3  * \file QNomencl.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  * \author O. U. Baran
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef QNOMENCL_H
15 #define QNOMENCL_H
16
17 #include "QDialogView.h"
18 #include "QNomenclDialog.h"
19
20 namespace lyx {
21 namespace frontend {
22
23 class ControlCommand;
24
25 class QNomencl :
26         public QController<ControlCommand, QView<QNomenclDialog> >
27 {
28 public:
29         friend class QNomenclDialog;
30
31         QNomencl(Dialog &, docstring const & title);
32 protected:
33         virtual bool isValid();
34 private:
35         /// Apply changes
36         virtual void apply();
37         /// update
38         virtual void update_contents();
39         /// build the dialog
40         virtual void build_dialog();
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif // QNOMENCL_H