]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/printdlgimpl.h
implement getLabelList
[lyx.git] / src / frontends / qt2 / printdlgimpl.h
1 /**
2  * \file printdlgimpl.h
3  * Copyright 2001 LyX Team
4  * see the file COPYING
5  *
6  * \author John Levon, moz@compsoc.man.ac.uk
7  * \author Edwin Leuven, leuven@fee.uva.nl
8  */
9
10 #ifndef PRINTDLGIMPL_H
11 #define PRINTDLGIMPL_H
12 #include "printdlg.h"
13 #include "lyxrc.h" 
14 #include "PrinterParams.h"
15
16 class FormPrint;
17
18 class PrintDlgImpl : public PrintDlg
19
20     Q_OBJECT
21
22  public:
23     PrintDlgImpl( FormPrint *f, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
24     ~PrintDlgImpl();
25    
26    const char *getFrom();
27    const char *getTo();
28    const char *getPrinter();
29    const char *getFile();
30    const char *getCount();
31    PrinterParams::Target getTarget();
32    PrinterParams::WhichPages getWhichPages();
33    bool getReverse();
34    bool getSort();
35    void setFrom(const char *);
36    void setTo(const char *);
37    void setPrinter(const char *);
38    void setFile(const char *);
39    void setCount(int);
40    void setTarget(PrinterParams::Target);
41    void setWhichPages(PrinterParams::WhichPages);
42    void setReverse(bool);
43    void setSort(bool);
44       
45
46  protected slots:
47     void cancel_adaptor();
48     void browse_file();
49     void print();
50     void set_collate(int);
51
52  private:
53         FormPrint * form_;
54
55 };
56
57 #endif // PRINTDLGIMPL_H