summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2018-02-05 15:58:25 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-02-10 10:26:34 +0100
commit920aa613c9a422d3f232b355524db7f5a7f0342f (patch)
tree9d6d68a4e77dff06b078adc99b85987022deaf16 /core/subsurface-qt/SettingsObjectWrapper.h
parentf9f1630d5c040344b7f8dbaf02348ec5f2b4c7dd (diff)
downloadsubsurface-920aa613c9a422d3f232b355524db7f5a7f0342f.tar.gz
Add a preference to turn on ICD warnings
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.h')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h
index a41caae40..94bbcf5fc 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.h
+++ b/core/subsurface-qt/SettingsObjectWrapper.h
@@ -139,6 +139,7 @@ class TechnicalDetailsSettings : public QObject {
Q_PROPERTY(bool show_sac READ showSac WRITE setShowSac NOTIFY showSacChanged)
Q_PROPERTY(bool display_unused_tanks READ displayUnusedTanks WRITE setDisplayUnusedTanks NOTIFY displayUnusedTanksChanged)
Q_PROPERTY(bool show_average_depth READ showAverageDepth WRITE setShowAverageDepth NOTIFY showAverageDepthChanged)
+ Q_PROPERTY(bool show_icd READ showIcd WRITE setShowIcd NOTIFY showIcdChanged)
Q_PROPERTY(bool show_pictures_in_profile READ showPicturesInProfile WRITE setShowPicturesInProfile NOTIFY showPicturesInProfileChanged)
Q_PROPERTY(deco_mode deco READ deco WRITE setDecoMode NOTIFY decoModeChanged)
@@ -168,6 +169,7 @@ public:
bool showSac() const;
bool displayUnusedTanks() const;
bool showAverageDepth() const;
+ bool showIcd() const;
bool showPicturesInProfile() const;
deco_mode deco() const;
@@ -195,6 +197,7 @@ public slots:
void setShowSac(bool value);
void setDisplayUnusedTanks(bool value);
void setShowAverageDepth(bool value);
+ void setShowIcd(bool value);
void setShowPicturesInProfile(bool value);
void setDecoMode(deco_mode d);
@@ -222,6 +225,7 @@ signals:
void showSacChanged(bool value);
void displayUnusedTanksChanged(bool value);
void showAverageDepthChanged(bool value);
+ void showIcdChanged(bool value);
void showPicturesInProfileChanged(bool value);
void decoModeChanged(deco_mode m);