summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/nokia/placesv1/qplacerestmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/nokia/placesv1/qplacerestmanager.h')
-rw-r--r--src/plugins/geoservices/nokia/placesv1/qplacerestmanager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/geoservices/nokia/placesv1/qplacerestmanager.h b/src/plugins/geoservices/nokia/placesv1/qplacerestmanager.h
index 7fdcd5c1..bea2bee4 100644
--- a/src/plugins/geoservices/nokia/placesv1/qplacerestmanager.h
+++ b/src/plugins/geoservices/nokia/placesv1/qplacerestmanager.h
@@ -51,8 +51,6 @@
#include <QObject>
-#include <QtNetwork/QNetworkProxy>
-#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtLocation/QPlaceContentRequest>
@@ -61,6 +59,8 @@
QT_BEGIN_NAMESPACE
+class QGeoNetworkAccessManager;
+
class QPlaceRestManager : public QObject
{
Q_OBJECT
@@ -68,7 +68,7 @@ class QPlaceRestManager : public QObject
public:
static QPlaceRestManager *instance();
- void setProxy(const QNetworkProxy &proxy);
+ void setNetworkAccessManager(QGeoNetworkAccessManager* networkManager);
QPlaceRestReply *sendPlaceRequest(const QString &placeId);
QPlaceRestReply *sendPlaceImagesRequest(const QString &placeId, const QPlaceContentRequest &params);
@@ -96,7 +96,7 @@ private:
QByteArray createLanguageString() const;
private:
- QNetworkAccessManager *mManager;
+ QGeoNetworkAccessManager *mManager;
static QPlaceRestManager *mInstance;
QString placeServer;
QString searchServer;