aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/printer.h')
-rw-r--r--desktop-widgets/printer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/printer.h b/desktop-widgets/printer.h
index 8030e9f75..43a1fa9b7 100644
--- a/desktop-widgets/printer.h
+++ b/desktop-widgets/printer.h
@@ -27,6 +27,7 @@ private:
const template_options &templateOptions;
QSize pageSize;
PrintMode printMode;
+ bool inPlanner;
int done;
int dpi;
void render(int Pages);
@@ -38,7 +39,7 @@ private slots:
void templateProgessUpdated(int value);
public:
- Printer(QPaintDevice *paintDevice, const print_options &printOptions, const template_options &templateOptions, PrintMode printMode);
+ Printer(QPaintDevice *paintDevice, const print_options &printOptions, const template_options &templateOptions, PrintMode printMode, bool inPlanner);
~Printer();
void print();
void previewOnePage();