diff options
Diffstat (limited to 'qt-ui/profile/ruleritem.h')
-rw-r--r-- | qt-ui/profile/ruleritem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qt-ui/profile/ruleritem.h b/qt-ui/profile/ruleritem.h index 2ee1703a6..3eda33225 100644 --- a/qt-ui/profile/ruleritem.h +++ b/qt-ui/profile/ruleritem.h @@ -17,7 +17,7 @@ class RulerNodeItem2 : public QObject, public QGraphicsEllipseItem { public: explicit RulerNodeItem2(); void setRuler(RulerItem2 *r); - void setPlotInfo(struct plot_info& info); + void setPlotInfo(struct plot_info &info); void recalculate(); protected: @@ -31,7 +31,7 @@ private: DiveCartesianAxis *depthAxis; }; -class RulerItem2 :public QObject, public QGraphicsLineItem { +class RulerItem2 : public QObject, public QGraphicsLineItem { Q_OBJECT public: explicit RulerItem2(); @@ -43,7 +43,8 @@ public: void setAxis(DiveCartesianAxis *time, DiveCartesianAxis *depth); void setVisible(bool visible); -public slots: +public +slots: void settingsChanged(); private: |