summaryrefslogtreecommitdiffstats
path: root/templatelayout.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-19 20:33:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-19 20:33:54 -0700
commit56d701dfff72bb4e59f23432c5b7d9c356132412 (patch)
tree6550cb8ef679944f40fd3f93f1f0046ac11523e0 /templatelayout.h
parent56b82e0ecf58dd1f2b7585425dbdebbbbe5668a4 (diff)
parentb039e1db8a4d8d745a455dd70b4434acffb5c1c4 (diff)
downloadsubsurface-56d701dfff72bb4e59f23432c5b7d9c356132412.tar.gz
Merge branch 'custom-print' of https://github.com/neolit123/subsurface
Diffstat (limited to 'templatelayout.h')
-rw-r--r--templatelayout.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/templatelayout.h b/templatelayout.h
index db2fb30d3..21eae1b80 100644
--- a/templatelayout.h
+++ b/templatelayout.h
@@ -3,17 +3,20 @@
#include <grantlee_templates.h>
#include "mainwindow.h"
+#include "printoptions.h"
+
+int getTotalWork();
class TemplateLayout : public QObject {
Q_OBJECT
public:
- TemplateLayout();
+ TemplateLayout(print_options *PrintOptions);
~TemplateLayout();
QString generate();
private:
Grantlee::Engine *m_engine;
- int getTotalWork();
+ print_options *PrintOptions;
signals:
void progressUpdated(int value);