3 * Copyright 2001 LyX Team
6 * \author John Levon, moz@compsoc.man.ac.uk
7 * \author Edwin Leuven, leuven@fee.uva.nl
10 #ifndef QPRINTDIALOG_H
11 #define QPRINTDIALOG_H
15 #include "ui/QPrintDialogBase.h"
17 #include "PrinterParams.h"
21 class QPrintDialog : public QPrintDialogBase
25 QPrintDialog(QPrint * f, QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags fl = 0);
28 // FIXME: these should return std::string !
29 const char * getFrom();
31 const char * getPrinter();
32 const char * getFile();
33 const char * getCount();
34 PrinterParams::Target getTarget();
35 PrinterParams::WhichPages getWhichPages();
38 void setFrom(const char *);
39 void setTo(const char *);
40 void setPrinter(const char *);
41 void setFile(const char *);
43 void setTarget(PrinterParams::Target);
44 void setWhichPages(PrinterParams::WhichPages);
45 void setReverse(bool);
50 void cancel_adaptor();
53 void set_collate(int);
60 #endif // QPRINTDIALOG_H