diff options
Diffstat (limited to 'desktop-widgets/templatelayout.h')
-rw-r--r-- | desktop-widgets/templatelayout.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-widgets/templatelayout.h b/desktop-widgets/templatelayout.h index c7e3537aa..786cd055a 100644 --- a/desktop-widgets/templatelayout.h +++ b/desktop-widgets/templatelayout.h @@ -3,9 +3,9 @@ #define TEMPLATELAYOUT_H #include "core/statistics.h" +#include "core/equipment.h" #include <QStringList> -class DiveObjectHelperGrantlee; class CylinderObjectHelper; struct print_options; struct template_options; @@ -36,14 +36,14 @@ public: private: struct State { - QList<DiveObjectHelperGrantlee> dives; + QList<const dive *> dives; QList<stats_t *> years; QMap<QString, QString> types; int forloopiterator = -1; - const DiveObjectHelperGrantlee *currentDive = nullptr; + const dive * const *currentDive = nullptr; const stats_t * const *currentYear = nullptr; const QString *currentCylinder = nullptr; - const CylinderObjectHelper *currentCylinderObject = nullptr; + const cylinder_t * const *currentCylinderObject = nullptr; }; const print_options &printOptions; const template_options &templateOptions; |