]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QParagraph.h
Some string(widget->text()) fixes. Weirdness
[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 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "Qt2Base.h"
21 #include <vector>
22
23 class ControlParagraph;
24 class QParagraphDialog;
25
26
27 class QParagraph
28         : public Qt2CB<ControlParagraph, Qt2DB<QParagraphDialog> >
29 {
30 public:
31         friend class QParagraphDialog;
32
33         QParagraph();
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         std::vector<string> units_;
43 };
44
45 #endif // QPARAGRAPH_H