]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPrint.h
Lots and lots of little trivial bits.
[lyx.git] / src / frontends / qt2 / QPrint.h
1 // -*- C++ -*-
2 /**
3  * \file QPrint.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  * \author Edwin Leuven
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef QPRINT_H
14 #define QPRINT_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "Qt2Base.h"
21
22 class ControlPrint;
23 class QPrintDialog;
24
25 ///
26 class QPrint
27         : public Qt2CB<ControlPrint, Qt2DB<QPrintDialog> >
28 {
29 public:
30         ///
31         friend class QPrintDialog;
32         ///
33         QPrint();
34
35 private:
36         /// Apply changes
37         virtual void apply();
38         /// update
39         virtual void update_contents();
40         /// build the dialog
41         virtual void build_dialog();
42 };
43
44 #endif // QPRINT_H