Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
printctl.h
Go to the documentation of this file.
1 
8 #ifndef _PRINT_CTL_H_
9 #define _PRINT_CTL_H_
10 
11 // Includes
12 #include <QObject>
13 #include <QVariant>
14 #include <QVector>
15 #include <QStringList>
16 #include <QFile>
17 #include <QPrinterInfo>
18 
19 // Forward declarations
20 class CAMainWin;
21 class CASVGExport;
22 
23 class CAPrintCtl : public QObject
24 {
25  Q_OBJECT
26 
27 public:
28  CAPrintCtl( CAMainWin *poMainWin );
29  ~CAPrintCtl();
30 
31 public slots:
32  void on_uiPrint_triggered();
34 
35 protected slots:
36  void printSVG( int iExitCode );
37 
38 protected:
39  void printDocument();
40 
43  QString _oOutputSVGName;
44  bool _showDialog; // used when printing directly
45 };
46 
47 #endif // _PRINT_CTL_H
48