MapWidget.qml: reference the Map object in the MapWidgetHelper object

The idea here is that the Map object can be controlled from C++ via
the "m_map" private member. Also, for the mobile version, QML code can
call the same C++ methods (if marked as Q_INVOCABLE).

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2017-07-16 23:59:09 +03:00 committed by Dirk Hohndel
parent 118a3b9804
commit 5266a5e84b

View file

@ -14,6 +14,7 @@ Item {
MapWidgetHelper {
id: mapHelper
map: map
}
Map {