diff options
Diffstat (limited to 'printer.h')
-rw-r--r-- | printer.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,7 +14,7 @@ class Printer : public QObject { Q_OBJECT private: - QPrinter *printer; + QPaintDevice *paintDevice; QWebView *webView; print_options *printOptions; template_options *templateOptions; @@ -28,7 +28,7 @@ private slots: void templateProgessUpdated(int value); public: - Printer(QPrinter *printer, print_options *printOptions, template_options *templateOptions); + Printer(QPaintDevice *paintDevice, print_options *printOptions, template_options *templateOptions); ~Printer(); void print(); |