summaryrefslogtreecommitdiffstats
path: root/printer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-05 12:01:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-05 12:01:43 -0700
commit9c6a3a7ff387578ddede2e69d8b994a11cf8eaee (patch)
tree72a08592a24d8d3d1f4fc7d7713da8029bc80c3f /printer.h
parent35dc81410518e6d39ba8b3f99348884778bedc5b (diff)
parentcc53dc7acf801f022612678f697e6d76c2443153 (diff)
downloadsubsurface-9c6a3a7ff387578ddede2e69d8b994a11cf8eaee.tar.gz
Merge branch 'custom-print' of github.com:neolit123/subsurface
Diffstat (limited to 'printer.h')
-rw-r--r--printer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/printer.h b/printer.h
index cba82e607..4ab65834a 100644
--- a/printer.h
+++ b/printer.h
@@ -8,6 +8,7 @@
#include "profile/profilewidget2.h"
#include "printoptions.h"
+#include "templateedit.h"
class Printer : public QObject {
Q_OBJECT
@@ -16,6 +17,7 @@ private:
QPrinter *printer;
QWebView *webView;
print_options *printOptions;
+ template_options *templateOptions;
QSize pageSize;
int done;
int dpi;
@@ -26,7 +28,7 @@ private slots:
void templateProgessUpdated(int value);
public:
- Printer(QPrinter *printer, print_options *printOptions);
+ Printer(QPrinter *printer, print_options *printOptions, template_options *templateOptions);
void print();
signals: