diff options
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r-- | qt-ui/profile/diveprofileitem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h index 480776546..c7fa59841 100644 --- a/qt-ui/profile/diveprofileitem.h +++ b/qt-ui/profile/diveprofileitem.h @@ -100,9 +100,14 @@ public: DiveHeartrateItem(); virtual void modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight); virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); + virtual void preferencesChanged(); + void setVisibilitySettingsKey(const QString &setVisibilitySettingsKey); + bool isVisible(); private: void createTextItem(int seconds, int hr); + QString visibilityKey; + bool visible; }; class DiveGasPressureItem : public AbstractProfilePolygonItem { |