]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPrefs.h
Add skeleton prefs controller and dialog to allow further work
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20 #include "ControlPrefs.h"
21
22 class QPrefsDialog;
23
24 class QPrefs
25         : public Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> >
26 {
27 public:
28
29         friend class QPrefsDialog;
30
31         QPrefs();
32  
33 private:
34         /// Apply changes
35         virtual void apply();
36  
37         /// update (do we need this?)
38         virtual void update_contents();
39
40         /// build the dialog
41         virtual void build_dialog();
42 };
43
44 #endif // QPREFS_H