]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPreamble.h
the qtclean-2 patch with some very small changes
[lyx.git] / src / frontends / qt2 / QPreamble.h
1 // -*- C++ -*-
2 /**
3  * \file QPreamble.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 QPREAMBLE_H
13 #define QPREAMBLE_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20
21 class ControlPreamble;
22 class QPreambleDialog;
23
24 ///
25 class QPreamble
26         : public Qt2CB<ControlPreamble, Qt2DB<QPreambleDialog> >
27 {
28 public:
29         ///
30         friend class QPreambleDialog;
31         ///
32         QPreamble();
33 private:
34         /// Apply changes
35         virtual void apply();
36         /// update
37         virtual void update_contents();
38         /// build the dialog
39         virtual void build_dialog();
40 };
41
42 #endif // QPREAMBLE_H