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