]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QPrint.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / 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 #include "QDialogView.h"
17
18 namespace lyx {
19 namespace frontend {
20
21 class ControlPrint;
22 class QLPrintDialog;
23
24 ///
25 class QPrint
26         : public QController<ControlPrint, QView<QLPrintDialog> >
27 {
28 public:
29         ///
30         friend class QLPrintDialog;
31         ///
32         QPrint(Dialog &);
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 } // namespace frontend
43 } // namespace lyx
44
45 #endif // QPRINT_H