diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-16 23:46:50 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 118a3b9804b61aa19ad7f57cfd2e365c7127a91f (patch) | |
tree | 22863b9a67672e7e2fa7b0341fd8f9d2eb20089e /mobile-widgets/qmlmapwidgethelper.h | |
parent | 99c2bf6290170bfef40a258fcf21e2e498bcc7c8 (diff) | |
download | subsurface-118a3b9804b61aa19ad7f57cfd2e365c7127a91f.tar.gz |
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>
Diffstat (limited to 'mobile-widgets/qmlmapwidgethelper.h')
-rw-r--r-- | mobile-widgets/qmlmapwidgethelper.h | 4 |
1 files changed, 4 insertions, 0 deletions
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
|