summaryrefslogtreecommitdiffstats
path: root/src/location/declarativemaps/locationvaluetypehelper_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/locationvaluetypehelper_p.h')
-rw-r--r--src/location/declarativemaps/locationvaluetypehelper_p.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/location/declarativemaps/locationvaluetypehelper_p.h b/src/location/declarativemaps/locationvaluetypehelper_p.h
index 09f3ab06..79b4b6f8 100644
--- a/src/location/declarativemaps/locationvaluetypehelper_p.h
+++ b/src/location/declarativemaps/locationvaluetypehelper_p.h
@@ -48,15 +48,17 @@
// We mean it.
//
+#include <QtLocation/private/qlocationglobal_p.h>
#include <QJSValue>
#include <QVariant>
#include <QGeoCoordinate>
#include <QGeoRectangle>
#include <QGeoCircle>
-QGeoCoordinate parseCoordinate(const QJSValue &value, bool *ok = nullptr);
-QGeoCoordinate parseCoordinate(const QVariant &value, bool *ok = nullptr);
-QGeoRectangle parseRectangle(const QJSValue &value, bool *ok);
-QGeoCircle parseCircle(const QJSValue &value, bool *ok);
-
+QGeoCoordinate Q_LOCATION_PRIVATE_EXPORT parseCoordinate(const QJSValue &value, bool *ok = nullptr);
+QGeoCoordinate Q_LOCATION_PRIVATE_EXPORT parseCoordinate(const QVariant &value, bool *ok = nullptr);
+QGeoRectangle Q_LOCATION_PRIVATE_EXPORT parseRectangle(const QJSValue &value, bool *ok);
+QGeoCircle Q_LOCATION_PRIVATE_EXPORT parseCircle(const QJSValue &value, bool *ok);
+QJSValue Q_LOCATION_PRIVATE_EXPORT fromList(const QObject *object, const QList<QGeoCoordinate> &list);
+QList<QGeoCoordinate> Q_LOCATION_PRIVATE_EXPORT toList(const QObject *object, const QJSValue &value);
#endif