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 <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-07-16 23:46:50 +03:00 committed by Dirk Hohndel
parent 99c2bf6290
commit 118a3b9804

View file

@ -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