summaryrefslogtreecommitdiffstats
path: root/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'printer.h')
-rw-r--r--printer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/printer.h b/printer.h
index 6c826aa0a..caeb14a1f 100644
--- a/printer.h
+++ b/printer.h
@@ -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();