summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mapwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/mapwidget.h')
-rw-r--r--desktop-widgets/mapwidget.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h
new file mode 100644
index 000000000..c1d55ae91
--- /dev/null
+++ b/desktop-widgets/mapwidget.h
@@ -0,0 +1,23 @@
+#ifndef MAPWIDGET_H
+#define MAPWIDGET_H
+
+#include <QQuickWidget>
+
+class QResizeEvent;
+class QQuickItem;
+
+class MapWidget : public QQuickWidget {
+
+public:
+ MapWidget(QWidget *parent = NULL);
+ ~MapWidget();
+
+ static MapWidget *instance();
+
+private:
+ static MapWidget *m_instance;
+ QQuickItem *m_rootItem;
+
+};
+
+#endif // MAPWIDGET_H