summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-22 19:22:07 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-22 13:28:25 -0800
commitcde9bc0de9f4b7684336ef7209f47a47c8b751ba (patch)
treed3fd3c51d4e607b61eb2d275a2f51a88646be248 /qt-ui/profile/profilewidget2.h
parentf8a4f8de8159bb60235af170d2acb603ec40ccad (diff)
downloadsubsurface-cde9bc0de9f4b7684336ef7209f47a47c8b751ba.tar.gz
Make the tissues be preferences-aware.
This patch adds a new class DiveCalculatedTissue that's preferences aware. It knows when to show or hide itself. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r--qt-ui/profile/profilewidget2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h
index 780a9b2a7..c20a3f333 100644
--- a/qt-ui/profile/profilewidget2.h
+++ b/qt-ui/profile/profilewidget2.h
@@ -36,6 +36,7 @@ struct plot_info;
struct DiveGasPressureItem;
struct DiveCalculatedCeiling;
struct DiveReportedCeiling;
+struct DiveCalculatedTissue;
class ProfileWidget2 : public QGraphicsView {
Q_OBJECT
@@ -88,7 +89,7 @@ private:
QList<DiveEventItem*> eventItems;
DiveTextItem *diveComputerText;
DiveCalculatedCeiling *diveCeiling;
- QList<DiveCalculatedCeiling*> allTissues;
+ QList<DiveCalculatedTissue*> allTissues;
DiveReportedCeiling *reportedCeiling;
};