summaryrefslogtreecommitdiffstats
path: root/profile-widget/diveeventitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/diveeventitem.h')
-rw-r--r--profile-widget/diveeventitem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/profile-widget/diveeventitem.h b/profile-widget/diveeventitem.h
index a04d89214..1bb217d92 100644
--- a/profile-widget/diveeventitem.h
+++ b/profile-widget/diveeventitem.h
@@ -11,7 +11,9 @@ struct event;
class DiveEventItem : public DivePixmapItem {
Q_OBJECT
public:
- DiveEventItem(const struct dive *d, struct event *ev, struct gasmix lastgasmix, QGraphicsItem *parent = 0);
+ DiveEventItem(const struct dive *d, struct event *ev, struct gasmix lastgasmix,
+ DivePlotDataModel *model, DiveCartesianAxis *hAxis, DiveCartesianAxis *vAxis,
+ int speed, QGraphicsItem *parent = nullptr);
~DiveEventItem();
struct event *getEvent();
void eventVisibilityChanged(const QString &eventName, bool visible);