summaryrefslogtreecommitdiffstats
path: root/profile-widget/divehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/divehandler.h')
-rw-r--r--profile-widget/divehandler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/profile-widget/divehandler.h b/profile-widget/divehandler.h
index ecd0248c8..2bf3527ac 100644
--- a/profile-widget/divehandler.h
+++ b/profile-widget/divehandler.h
@@ -5,10 +5,12 @@
#include <QGraphicsPathItem>
#include <QElapsedTimer>
+struct dive;
+
class DiveHandler : public QObject, public QGraphicsEllipseItem {
Q_OBJECT
public:
- DiveHandler();
+ DiveHandler(const struct dive *d);
protected:
void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
@@ -26,6 +28,7 @@ slots:
void selfRemove();
void changeGas();
private:
+ const struct dive *dive;
QElapsedTimer t;
};