aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-01 16:28:37 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-01 16:28:37 -0800
commitc4954d90a1e4f3fc3d2601e6bd6d95f27b0d78ed (patch)
tree24197fe017b66afe680093b8a8adea376a27b2e0 /qt-ui/profile/diveprofileitem.h
parentb6f47883c3bd3c05f1f5ef4d933a7b138d30b313 (diff)
downloadsubsurface-c4954d90a1e4f3fc3d2601e6bd6d95f27b0d78ed.tar.gz
Whitespace cleanup
Quite a bit of wild white space going on... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.h')
-rw-r--r--qt-ui/profile/diveprofileitem.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/qt-ui/profile/diveprofileitem.h b/qt-ui/profile/diveprofileitem.h
index d235d22fd..b0693cd93 100644
--- a/qt-ui/profile/diveprofileitem.h
+++ b/qt-ui/profile/diveprofileitem.h
@@ -78,6 +78,7 @@ public:
virtual void settingsChanged();
void plot_depth_sample(struct plot_data *entry, QFlags<Qt::AlignmentFlag> flags, const QColor &color);
int maxCeiling(int row);
+
private:
unsigned int show_reported_ceiling;
unsigned int reported_ceiling_in_red;
@@ -91,9 +92,9 @@ public:
virtual void modelDataChanged(const QModelIndex &topLeft = QModelIndex(), const QModelIndex &bottomRight = QModelIndex());
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
virtual void settingsChanged();
+
private:
QString visibilityKey;
-
};
class DiveTemperatureItem : public AbstractProfilePolygonItem {
@@ -114,6 +115,7 @@ public:
virtual void modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
virtual void settingsChanged();
+
private:
void createTextItem(int seconds, int hr);
QString visibilityKey;
@@ -126,6 +128,7 @@ public:
virtual void modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
virtual void settingsChanged();
+
private:
QString visibilityKey;
};
@@ -137,6 +140,7 @@ public:
virtual void modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
virtual void settingsChanged();
+
private:
QString visibilityKey;
};
@@ -148,6 +152,7 @@ public:
virtual void modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
virtual void settingsChanged();
+
private:
QString visibilityKey;
};
@@ -224,7 +229,8 @@ public:
DiveCartesianAxis *hAxis;
DiveCartesianAxis *vAxis;
InstantMeanDepthLine();
-public slots:
+public
+slots:
void mouseMoved(int time, int depth);
};