mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: turn protected into private members
Some profilewidget classes hat protected members which can be made private as there is no subclassing. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
fc697538fa
commit
ebb342c969
4 changed files with 8 additions and 14 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue