subsurface/mobile-widgets/qmlmapwidgethelper.h
Lubomir I. Ivanov 118a3b9804 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>
2017-07-28 07:31:11 -07:00

20 lines
303 B
C++

#ifndef QMLMAPWIDGETHELPER_H
#define QMLMAPWIDGETHELPER_H
#include <QObject>
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