]> git.lyx.org Git - features.git/blob - src/frontends/qt2/QParagraph.h
Replace LString.h with support/std_string.h,
[features.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
17 #include "QDialogView.h"
18 #include "support/std_string.h"
19 #include <vector>
20
21 class ControlParagraph;
22 class QParagraphDialog;
23
24
25 class QParagraph
26         : public QController<ControlParagraph, QView<QParagraphDialog> >
27 {
28 public:
29         friend class QParagraphDialog;
30
31         QParagraph(Dialog &);
32 private:
33         /// Apply changes
34         virtual void apply();
35         /// update
36         virtual void update_contents();
37         /// build the dialog
38         virtual void build_dialog();
39
40         std::vector<string> units_;
41 };
42
43 #endif // QPARAGRAPH_H