summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveeventitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/diveeventitem.h')
-rw-r--r--qt-ui/profile/diveeventitem.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/qt-ui/profile/diveeventitem.h b/qt-ui/profile/diveeventitem.h
index d2efb2dc4..1b138163c 100644
--- a/qt-ui/profile/diveeventitem.h
+++ b/qt-ui/profile/diveeventitem.h
@@ -10,22 +10,24 @@ struct event;
class DiveEventItem : public DivePixmapItem {
Q_OBJECT
public:
- DiveEventItem(QObject* parent = 0);
+ DiveEventItem(QObject *parent = 0);
void setEvent(struct event *ev);
struct event *getEvent();
- void eventVisibilityChanged(const QString& eventName, bool visible);
+ void eventVisibilityChanged(const QString &eventName, bool visible);
void setVerticalAxis(DiveCartesianAxis *axis);
void setHorizontalAxis(DiveCartesianAxis *axis);
void setModel(DivePlotDataModel *model);
-public slots:
+public
+slots:
void recalculatePos(bool instant = false);
+
private:
void setupToolTipString();
void setupPixmap();
DiveCartesianAxis *vAxis;
DiveCartesianAxis *hAxis;
DivePlotDataModel *dataModel;
- struct event* internalEvent;
+ struct event *internalEvent;
};
#endif // DIVEEVENTITEM_H