summaryrefslogtreecommitdiffstats
path: root/templatelayout.h
diff options
context:
space:
mode:
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);