]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QParagraph.h
Joao latest bits
[lyx.git] / src / frontends / qt2 / 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
18 #include <vector>
19
20 class ControlParagraph;
21 class QParagraphDialog;
22
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         std::vector<std::string> units_;
40 };
41
42 #endif // QPARAGRAPH_H