summaryrefslogtreecommitdiffstats
path: root/profile-widget/divecartesianaxis.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/divecartesianaxis.h')
-rw-r--r--profile-widget/divecartesianaxis.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/profile-widget/divecartesianaxis.h b/profile-widget/divecartesianaxis.h
index 2d65c5586..588e06ea1 100644
--- a/profile-widget/divecartesianaxis.h
+++ b/profile-widget/divecartesianaxis.h
@@ -81,7 +81,7 @@ class DepthAxis : public DiveCartesianAxis {
Q_OBJECT
public:
DepthAxis(ProfileWidget2 *widget);
-protected:
+private:
QString textForValue(double value);
QColor colorForValue(double value);
private
@@ -94,8 +94,7 @@ class TimeAxis : public DiveCartesianAxis {
public:
TimeAxis(ProfileWidget2 *widget);
void updateTicks(color_index_t color = TIME_GRID);
-
-protected:
+private:
QString textForValue(double value);
QColor colorForValue(double value);
};
@@ -104,7 +103,7 @@ class TemperatureAxis : public DiveCartesianAxis {
Q_OBJECT
public:
TemperatureAxis(ProfileWidget2 *widget);
-protected:
+private:
QString textForValue(double value);
};
@@ -116,7 +115,6 @@ public:
public
slots:
void settingsChanged();
-
private:
DivePlotDataModel *model;
};