]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPrint.h
Some string(widget->text()) fixes. Weirdness
[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 QLPrintDialog;
24
25 ///
26 class QPrint
27         : public Qt2CB<ControlPrint, Qt2DB<QLPrintDialog> >
28 {
29 public:
30         ///
31         friend class QLPrintDialog;
32         ///
33         QPrint();
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