|
Canorus
0.7
|
00001 00008 #ifndef _PRINT_CTL_H_ 00009 #define _PRINT_CTL_H_ 00010 00011 // Includes 00012 #include <QObject> 00013 #include <QVariant> 00014 #include <QVector> 00015 #include <QStringList> 00016 #include <QFile> 00017 #include <QPrinterInfo> 00018 00019 // Forward declarations 00020 class CAMainWin; 00021 class CASVGExport; 00022 00023 class CAPrintCtl : public QObject 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 CAPrintCtl( CAMainWin *poMainWin ); 00029 ~CAPrintCtl(); 00030 00031 public slots: 00032 void on_uiPrint_triggered(); 00033 void on_uiPrintDirectly_triggered(); 00034 00035 protected slots: 00036 void printSVG( int iExitCode ); 00037 00038 protected: 00039 void printDocument(); 00040 00041 CAMainWin *_poMainWin; 00042 CASVGExport *_poSVGExport; 00043 QString _oOutputSVGName; 00044 bool _showDialog; // used when printing directly 00045 }; 00046 00047 #endif // _PRINT_CTL_H 00048
1.8.0