]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QPrefs.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / 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 #include "QDialogView.h"
16 #include <vector>
17
18 class Converters;
19 class Formats;
20 class Movers;
21
22 namespace lyx {
23 namespace frontend {
24
25 class QPrefsDialog;
26 class ControlPrefs;
27
28 class QPrefs
29         : public QController<ControlPrefs, QView<QPrefsDialog> >
30 {
31 public:
32         QPrefs(Dialog &);
33
34         Converters & converters();
35         Formats & formats();
36         Movers & movers();
37
38 private:
39         /// Apply changes
40         virtual void apply();
41
42         /// update (do we need this?)
43         virtual void update_contents();
44
45         /// build the dialog
46         virtual void build_dialog();
47
48 };
49
50 } // namespace frontend
51 } // namespace lyx
52
53 #endif // QPREFS_H