/** * \file printdlgimpl.h * Copyright 2001 LyX Team * see the file COPYING * * \author John Levon, moz@compsoc.man.ac.uk * \author Edwin Leuven, leuven@fee.uva.nl */ #ifndef PRINTDLGIMPL_H #define PRINTDLGIMPL_H #include "printdlg.h" #include "lyxrc.h" #include "PrinterParams.h" class FormPrint; class PrintDlgImpl : public PrintDlg { Q_OBJECT public: PrintDlgImpl( FormPrint *f, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~PrintDlgImpl(); const char *getFrom(); const char *getTo(); const char *getPrinter(); const char *getFile(); const char *getCount(); PrinterParams::Target getTarget(); PrinterParams::WhichPages getWhichPages(); bool getReverse(); bool getSort(); void setFrom(const char *); void setTo(const char *); void setPrinter(const char *); void setFile(const char *); void setCount(int); void setTarget(PrinterParams::Target); void setWhichPages(PrinterParams::WhichPages); void setReverse(bool); void setSort(bool); protected slots: void cancel_adaptor(); void browse_file(); void print(); void set_collate(int); private: FormPrint * form_; }; #endif // PRINTDLGIMPL_H