]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTexinfo.h
Get rid of the static_casts.
[lyx.git] / src / frontends / qt2 / QTexinfo.h
1 // -*- C++ -*-
2 /**
3  * \file QTexinfo.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  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QTEXINFO_H
13 #define QTEXINFO_H
14
15
16 #include "Qt2Base.h"
17
18 #include "ControlTexinfo.h"
19
20 #include <vector>
21
22 class QTexinfoDialog;
23
24 ///
25 class QTexinfo
26         : public Qt2CB<ControlTexinfo, Qt2DB<QTexinfoDialog> >
27 {
28 public:
29         ///
30         friend class QTexinfoDialog;
31         ///
32         QTexinfo();
33 private:
34         /// Apply changes
35         virtual void apply() {}
36         /// update (do we need this?)
37         virtual void update_contents() {}
38         /// build the dialog
39         virtual void build_dialog();
40         ///
41         void updateStyles(ControlTexinfo::texFileSuffix);
42         ///
43         void updateStyles();
44         ///
45         bool warningPosted;
46         ///
47         ControlTexinfo::texFileSuffix activeStyle;
48         ///
49         std::vector<string> cls_;
50         ///
51         std::vector<string> sty_;
52         ///
53         std::vector<string> bst_;
54 };
55
56 #endif // QTEXINFO_H