From 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 27 Feb 2014 20:09:57 -0800 Subject: Massive automated whitespace cleanup I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel --- qt-ui/profile/ruleritem.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'qt-ui/profile/ruleritem.h') diff --git a/qt-ui/profile/ruleritem.h b/qt-ui/profile/ruleritem.h index f9cc98577..f2ff61c09 100644 --- a/qt-ui/profile/ruleritem.h +++ b/qt-ui/profile/ruleritem.h @@ -10,37 +10,36 @@ struct plot_data; class RulerItem2; -class RulerNodeItem2 : public QObject, public QGraphicsEllipseItem -{ +class RulerNodeItem2 : public QObject, public QGraphicsEllipseItem { Q_OBJECT friend class RulerItem2; + public: - explicit RulerNodeItem2(struct plot_info& info); + explicit RulerNodeItem2(struct plot_info &info); void setRuler(RulerItem2 *r); void recalculate(); protected: - QVariant itemChange(GraphicsItemChange change, const QVariant & value ); + QVariant itemChange(GraphicsItemChange change, const QVariant &value); private: struct plot_info &pInfo; struct plot_data *entry; - RulerItem2* ruler; + RulerItem2 *ruler; DiveCartesianAxis *timeAxis; DiveCartesianAxis *depthAxis; }; -class RulerItem2 : public QGraphicsObject -{ +class RulerItem2 : public QGraphicsObject { Q_OBJECT public: explicit RulerItem2(); void recalculate(); void setPlotInfo(struct plot_info pInfo); - RulerNodeItem2* sourceNode() const; - RulerNodeItem2* destNode() const; - void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget * widget = 0); + RulerNodeItem2 *sourceNode() const; + RulerNodeItem2 *destNode() const; + void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); QRectF boundingRect() const; QPainterPath shape() const; void setAxis(DiveCartesianAxis *time, DiveCartesianAxis *depth); -- cgit v1.2.3-70-g09d2