]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPrint.h
ws change
[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
23 ///
24 class QPrint
25         : public Qt2CB<ControlPrint, Qt2DB<QPrintDialog> >
26 {
27 public:
28         ///
29         friend class QPrintDialog;
30         ///
31         QPrint(ControlPrint &);
32
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 // QPRINT_H