diff options
Diffstat (limited to 'desktop-widgets/mapwidget.h')
-rw-r--r-- | desktop-widgets/mapwidget.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h index c1d55ae91..d2aefb687 100644 --- a/desktop-widgets/mapwidget.h +++ b/desktop-widgets/mapwidget.h @@ -3,17 +3,25 @@ #include <QQuickWidget>
+#include "core/divesite.h"
+
class QResizeEvent;
class QQuickItem;
+struct dive_site;
class MapWidget : public QQuickWidget {
+ Q_OBJECT
+
public:
MapWidget(QWidget *parent = NULL);
~MapWidget();
static MapWidget *instance();
+public slots:
+ void centerOnDiveSite(struct dive_site *);
+
private:
static MapWidget *m_instance;
QQuickItem *m_rootItem;
|