diff options
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r-- | qt-models/diveplannermodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h index 23d9ada02..4dda5cc6e 100644 --- a/qt-models/diveplannermodel.h +++ b/qt-models/diveplannermodel.h @@ -7,6 +7,7 @@ #include "core/deco.h" #include "core/planner.h" +#include "qt-models/cylindermodel.h" class DivePlannerPointsModel : public QAbstractTableModel { Q_OBJECT @@ -47,6 +48,7 @@ public: bool tankInUse(int cylinderid); void setupCylinders(); bool updateMaxDepth(); + CylindersModelFiltered *cylindersModel(); int ascrate75Display(); int ascrate50Display(); @@ -127,6 +129,7 @@ private: void computeVariations(struct diveplan *diveplan, const struct deco_state *ds); void computeVariationsFreeDeco(struct diveplan *diveplan, struct deco_state *ds); int analyzeVariations(struct decostop *min, struct decostop *mid, struct decostop *max, const char *unit); + CylindersModelFiltered cylinders; Mode mode; bool recalc; QVector<divedatapoint> divepoints; |