]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPrint.h
Compile fixes. Qt2 should now build (and fail immediately when you start it,
[lyx.git] / src / frontends / qt2 / QPrint.h
1 // -*- C++ -*-
2 /**
3  * \file QPrint.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon <moz@compsoc.man.ac.uk>
8  * \author Edwin Leuven, leuven@fee.uva.nl
9  */
10
11 #ifndef QPRINT_H
12 #define QPRINT_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "Qt2Base.h"
19
20 class ControlPrint;
21 class QPrintDialog;
22 class Dialogs;
23
24 ///
25 class QPrint
26         : public Qt2CB<ControlPrint, Qt2DB<QPrintDialog> >
27 {
28 public:
29         ///
30         friend class QPrintDialog;
31         ///
32         QPrint(ControlPrint &, Dialogs &);
33
34 private:
35         /// Apply changes
36         virtual void apply();
37         /// update
38         virtual void update_contents();
39         /// build the dialog
40         virtual void build_dialog();
41 };
42
43 #endif // QPRINT_H