]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QParagraph.h
Fix unreported bug related to 3246 by Richard Heck:
[lyx.git] / src / frontends / qt4 / QParagraph.h
1 // -*- C++ -*-
2 /**
3  * \file QParagraph.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QPARAGRAPH_H
14 #define QPARAGRAPH_H
15
16 #include "QDialogView.h"
17 #include "QParagraphDialog.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class ControlParagraph;
23
24 class QParagraph
25         : public QController<ControlParagraph, QView<QParagraphDialog> >
26 {
27 public:
28         friend class QParagraphDialog;
29
30         QParagraph(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
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QPARAGRAPH_H