summaryrefslogtreecommitdiff
path: root/src/positioningquick/qdeclarativepositionsource_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2019-04-10 22:57:45 +0200
committerpaolo <paolo.angelelli@qt.io>2019-06-21 22:56:05 +0200
commit6ddffc8a4eb50164389c55c2ddad9239dab07b8c (patch)
treec0208a549f972e514a0987849f123394048694ef /src/positioningquick/qdeclarativepositionsource_p.h
parentac899dcc40bb3ad09307583fb7e6befd45a77b33 (diff)
downloadqtlocation-6ddffc8a4eb50164389c55c2ddad9239dab07b8c.tar.gz
Move PluginParameter into PositioningQuick, expose also in QtPositioning
With this patch the QDeclarativeGeoServiceProviderParameter in the location-private module becomes QDeclarativePluginParameter in the positioningquick-private module. This renamed class is then registered, under the same QML typename "PluginParameter" both in QtPositioning and QtLocation qml plugins. In this way it will become possible to use the same type both inside QtLocation "Plugin" and inside QtPositioning "PositionSource", and regardless of which is the QML plugin that provides "PluginParameter", this will translate into the same cpp type. [ChangeLog][QtPositioning] Exposed PluginParameter also from QtPositioning qml plugin, to be used in PositionSource as replacement of environment variables. Task-number: QTBUG-66304 Change-Id: I1d982ff689130ae896c616480567aa12d9b49c3a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioningquick/qdeclarativepositionsource_p.h')
-rw-r--r--src/positioningquick/qdeclarativepositionsource_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/positioningquick/qdeclarativepositionsource_p.h b/src/positioningquick/qdeclarativepositionsource_p.h
index 39bcd899..c6daaae5 100644
--- a/src/positioningquick/qdeclarativepositionsource_p.h
+++ b/src/positioningquick/qdeclarativepositionsource_p.h
@@ -51,12 +51,11 @@
// We mean it.
//
-#include "qdeclarativeposition_p.h"
-
+#include <QtPositioningQuick/private/qpositioningquickglobal_p.h>
+#include <QtPositioningQuick/private/qdeclarativeposition_p.h>
#include <QtCore/QObject>
#include <QtNetwork/QAbstractSocket>
#include <QtQml/QQmlParserStatus>
-#include <QtPositioningQuick/private/qpositioningquickglobal_p.h>
#include <QtPositioning/QGeoPositionInfoSource>
QT_BEGIN_NAMESPACE