From 118a3b9804b61aa19ad7f57cfd2e365c7127a91f Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sun, 16 Jul 2017 23:46:50 +0300 Subject: qmlmapwidgethelper.h: add a "map" property with m_map MEMBER This is about to be used to reference the QML Map in the MapWidgetHelper C++ class. Signed-off-by: Lubomir I. Ivanov --- mobile-widgets/qmlmapwidgethelper.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mobile-widgets/qmlmapwidgethelper.h b/mobile-widgets/qmlmapwidgethelper.h index c7e532c3c..e26718b1b 100644 --- a/mobile-widgets/qmlmapwidgethelper.h +++ b/mobile-widgets/qmlmapwidgethelper.h @@ -6,11 +6,15 @@ class MapWidgetHelper : public QObject { Q_OBJECT + Q_PROPERTY(QObject *map MEMBER m_map) public: explicit MapWidgetHelper(QObject *parent = NULL); void test(); + +private: + QObject *m_map; }; #endif -- cgit v1.2.3-70-g09d2