summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/templatelayout.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-13 13:32:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-17 13:03:56 -0800
commitfa6eb6144bc756380c4148d05a67a99b0ac25ef3 (patch)
tree2b8090561e1ad3e7c982cd6af56d2b08dbf4b8cf /desktop-widgets/templatelayout.h
parent2239ffe13c1babcae7a0822c83ab8d0f23317358 (diff)
downloadsubsurface-fa6eb6144bc756380c4148d05a67a99b0ac25ef3.tar.gz
printing: move #includes from headers to source files
To decrease include-file interdependencies. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/templatelayout.h')
-rw-r--r--desktop-widgets/templatelayout.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/desktop-widgets/templatelayout.h b/desktop-widgets/templatelayout.h
index e1c51eb0c..c7e3537aa 100644
--- a/desktop-widgets/templatelayout.h
+++ b/desktop-widgets/templatelayout.h
@@ -2,13 +2,14 @@
#ifndef TEMPLATELAYOUT_H
#define TEMPLATELAYOUT_H
-#include <QStringList>
-#include "mainwindow.h"
-#include "printoptions.h"
#include "core/statistics.h"
-#include "core/qthelper.h"
-#include "core/subsurface-qt/diveobjecthelper.h"
-#include "core/subsurface-qt/cylinderobjecthelper.h" // TODO: remove once grantlee supports Q_GADGET objects
+#include <QStringList>
+
+class DiveObjectHelperGrantlee;
+class CylinderObjectHelper;
+struct print_options;
+struct template_options;
+class QTextStream;
int getTotalWork(const print_options &printOptions);
void find_all_templates();