diff options
author | 2015-06-19 20:33:54 -0700 | |
---|---|---|
committer | 2015-06-19 20:33:54 -0700 | |
commit | 56d701dfff72bb4e59f23432c5b7d9c356132412 (patch) | |
tree | 6550cb8ef679944f40fd3f93f1f0046ac11523e0 /templatelayout.h | |
parent | 56b82e0ecf58dd1f2b7585425dbdebbbbe5668a4 (diff) | |
parent | b039e1db8a4d8d745a455dd70b4434acffb5c1c4 (diff) | |
download | subsurface-56d701dfff72bb4e59f23432c5b7d9c356132412.tar.gz |
Merge branch 'custom-print' of https://github.com/neolit123/subsurface
Diffstat (limited to 'templatelayout.h')
-rw-r--r-- | templatelayout.h | 7 |
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); |