]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPrefs.h
dont use pragma impementation and interface anymore
[lyx.git] / src / frontends / qt2 / QPrefs.h
1 // -*- C++ -*-
2 /**
3  * \file QPrefs.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef QPREFS_H
13 #define QPREFS_H
14
15
16 #include "converter.h"
17
18 #include "Qt2Base.h"
19 #include "ControlPrefs.h"
20
21 #include <vector>
22
23 class QPrefsDialog;
24
25 class QPrefs
26         : public Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> >
27 {
28 public:
29
30         friend class QPrefsDialog;
31
32         QPrefs();
33
34 private:
35         /// Apply changes
36         virtual void apply();
37
38         /// update (do we need this?)
39         virtual void update_contents();
40
41         /// build the dialog
42         virtual void build_dialog();
43
44         /// languages
45         std::vector<string> lang_;
46
47         /// converters
48         Converters converters_;
49
50         /// formats
51         Formats formats_;
52 };
53
54 #endif // QPREFS_H