aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/diveplanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/diveplanner.h')
-rw-r--r--desktop-widgets/diveplanner.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/desktop-widgets/diveplanner.h b/desktop-widgets/diveplanner.h
index e0e2dc026..7f1857f6a 100644
--- a/desktop-widgets/diveplanner.h
+++ b/desktop-widgets/diveplanner.h
@@ -2,41 +2,14 @@
#ifndef DIVEPLANNER_H
#define DIVEPLANNER_H
-#include <QGraphicsPathItem>
#include <QAbstractTableModel>
#include <QAbstractButton>
#include <QDateTime>
-#include <QSignalMapper>
-#include <QElapsedTimer>
class QListView;
class QModelIndex;
class DivePlannerPointsModel;
-class DiveHandler : public QObject, public QGraphicsEllipseItem {
- Q_OBJECT
-public:
- DiveHandler();
-
-protected:
- void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
- void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
- void mousePressEvent(QGraphicsSceneMouseEvent *event);
- void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
-signals:
- void moved();
- void clicked();
- void released();
-private:
- int parentIndex();
-public
-slots:
- void selfRemove();
- void changeGas();
-private:
- QElapsedTimer t;
-};
-
#include "ui_diveplanner.h"
class DivePlannerWidget : public QWidget {