mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
99c2bf6290
commit
118a3b9804
1 changed files with 4 additions and 0 deletions
|
@ -6,11 +6,15 @@
|
||||||
class MapWidgetHelper : public QObject {
|
class MapWidgetHelper : public QObject {
|
||||||
|
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Q_PROPERTY(QObject *map MEMBER m_map)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit MapWidgetHelper(QObject *parent = NULL);
|
explicit MapWidgetHelper(QObject *parent = NULL);
|
||||||
|
|
||||||
void test();
|
void test();
|
||||||
|
|
||||||
|
private:
|
||||||
|
QObject *m_map;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue