summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/printer.h')
-rw-r--r--desktop-widgets/printer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/printer.h b/desktop-widgets/printer.h
index cdc0acf09..c95700684 100644
--- a/desktop-widgets/printer.h
+++ b/desktop-widgets/printer.h
@@ -22,8 +22,8 @@ public:
private:
QPaintDevice *paintDevice;
QWebView *webView;
- print_options *printOptions;
- template_options *templateOptions;
+ const print_options &printOptions;
+ const template_options &templateOptions;
QSize pageSize;
PrintMode printMode;
int done;
@@ -36,7 +36,7 @@ private slots:
void templateProgessUpdated(int value);
public:
- Printer(QPaintDevice *paintDevice, print_options *printOptions, template_options *templateOptions, PrintMode printMode);
+ Printer(QPaintDevice *paintDevice, const print_options &printOptions, const template_options &templateOptions, PrintMode printMode);
~Printer();
void print();
void previewOnePage();