Home
last modified time | relevance | path

Searched refs:QGeoCodeReply (Results 1 – 25 of 32) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeocodereply.cpp96 QGeoCodeReply::QGeoCodeReply(QObject *parent) in QGeoCodeReply() function in QGeoCodeReply
100 QGeoCodeReply::QGeoCodeReply(QGeoCodeReplyPrivate &dd, QObject *parent) in QGeoCodeReply() function in QGeoCodeReply
110 QGeoCodeReply::QGeoCodeReply(Error error, const QString &errorString, QObject *parent) in QGeoCodeReply() function in QGeoCodeReply
117 QGeoCodeReply::~QGeoCodeReply() in ~QGeoCodeReply()
132 void QGeoCodeReply::setFinished(bool finished) in setFinished()
143 bool QGeoCodeReply::isFinished() const in isFinished()
155 void QGeoCodeReply::setError(QGeoCodeReply::Error error, const QString &errorString) in setError()
168 QGeoCodeReply::Error QGeoCodeReply::error() const in error()
183 QString QGeoCodeReply::errorString() const in errorString()
191 void QGeoCodeReply::setViewport(const QGeoShape &viewport) in setViewport()
[all …]
H A Dqgeocodingmanager.cpp89 SIGNAL(finished(QGeoCodeReply*)), in QGeoCodingManager()
91 SIGNAL(finished(QGeoCodeReply*))); in QGeoCodingManager()
94 SIGNAL(error(QGeoCodeReply*,QGeoCodeReply::Error,QString)), in QGeoCodingManager()
96 SIGNAL(error(QGeoCodeReply*,QGeoCodeReply::Error,QString))); in QGeoCodingManager()
171 QGeoCodeReply *QGeoCodingManager::geocode(const QGeoAddress &address, const QGeoShape &bounds) in geocode()
213 QGeoCodeReply *QGeoCodingManager::reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape … in reverseGeocode()
247 QGeoCodeReply *QGeoCodingManager::geocode(const QString &address, in geocode()
252 QGeoCodeReply *reply = d_ptr->engine->geocode(address, in geocode()
H A Dqgeocodingmanagerengine.cpp174 QGeoCodeReply *QGeoCodingManagerEngine::geocode(const QGeoAddress &address, in geocode()
179 return new QGeoCodeReply(QGeoCodeReply::UnsupportedOptionError, in geocode()
219 QGeoCodeReply *QGeoCodingManagerEngine::reverseGeocode(const QGeoCoordinate &coordinate, in reverseGeocode()
224 return new QGeoCodeReply(QGeoCodeReply::UnsupportedOptionError, in reverseGeocode()
257 QGeoCodeReply *QGeoCodingManagerEngine::geocode(const QString &address, in geocode()
267 return new QGeoCodeReply(QGeoCodeReply::UnsupportedOptionError, in geocode()
H A Dqgeocodereply.h51 class Q_LOCATION_EXPORT QGeoCodeReply : public QObject
66 explicit QGeoCodeReply(Error error, const QString &errorString, QObject *parent = nullptr);
67 virtual ~QGeoCodeReply();
84 void error(QGeoCodeReply::Error error, const QString &errorString = QString());
87 explicit QGeoCodeReply(QObject *parent = nullptr);
88 explicit QGeoCodeReply(QGeoCodeReplyPrivate &dd, QObject *parent = nullptr);
102 Q_DISABLE_COPY(QGeoCodeReply)
H A Dqgeocodingmanager.h63 QGeoCodeReply *geocode(const QGeoAddress &address,
65 QGeoCodeReply *geocode(const QString &searchString,
70 QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate,
77 void finished(QGeoCodeReply *reply);
78 void error(QGeoCodeReply *reply, QGeoCodeReply::Error error, QString errorString = QString());
H A Dqgeocodingmanagerengine.h60 virtual QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds);
61 virtual QGeoCodeReply *geocode(const QString &address,
65 virtual QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate,
73 void finished(QGeoCodeReply *reply);
74 void error(QGeoCodeReply *reply, QGeoCodeReply::Error error, QString errorString = QString());
H A Dqgeocodereply_p.h67 QGeoCodeReplyPrivate(QGeoCodeReply::Error error, const QString &errorString);
71 static const QGeoCodeReplyPrivate *get(const QGeoCodeReply &reply);
72 static QGeoCodeReplyPrivate *get(QGeoCodeReply &reply);
74 QGeoCodeReply::Error error;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocodereply/
H A Dtst_qgeocodereply.cpp48 qRegisterMetaType<QGeoCodeReply::Error>(); in init()
49 signalerror = new QSignalSpy(reply, SIGNAL(error(QGeoCodeReply::Error,QString))); in init()
65 QCOMPARE(reply->error(),QGeoCodeReply::NoError); in constructor()
76 QFETCH(QGeoCodeReply::Error,error); in constructor_error()
82 QGeoCodeReply *qgeocodereplycopy = new QGeoCodeReply (error,msg,0); in constructor_error()
95 QTest::addColumn<QGeoCodeReply::Error>("error"); in constructor_error_data()
98 QTest::newRow("error1") << QGeoCodeReply::NoError << "No error."; in constructor_error_data()
99 QTest::newRow("error2") << QGeoCodeReply::EngineNotSetError << "Engine Not Set Error."; in constructor_error_data()
100 QTest::newRow("error3") << QGeoCodeReply::CommunicationError << "Communication Error."; in constructor_error_data()
101 QTest::newRow("error4") << QGeoCodeReply::ParseError << "Parse Error."; in constructor_error_data()
[all …]
H A Dtst_qgeocodereply.h47 class SubGeocodeReply : public QGeoCodeReply
51 SubGeocodeReply() : QGeoCodeReply() {} in SubGeocodeReply()
102 Q_DECLARE_METATYPE(QGeoCodeReply::Error);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/geotestplugin/
H A Dqgeocodingmanagerengine_test.h66 class GeocodeReplyTest :public QGeoCodeReply
70 GeocodeReplyTest(QObject *parent = 0) : QGeoCodeReply (*new GeocodeReplyTestPrivate, parent) {}
94 errorCode_(QGeoCodeReply::NoError) in QGeoCodingManagerEngineTest()
113 QGeoCodeReply* geocode(const QString &searchString,
124 errorCode_ = (QGeoCodeReply::Error)searchString.toInt();
127 errorCode_ = QGeoCodeReply::NoError;
130 if (errorCode_ == QGeoCodeReply::NoError)
147 return static_cast<QGeoCodeReply*>(geocodeReply_);
150 QGeoCodeReply* geocode(const QGeoAddress & address, const QGeoShape &bounds) in geocode()
160 errorCode_ = (QGeoCodeReply::Error)address.county().toInt(); in geocode()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocodingmanagerplugins/
H A Dqgeocodingmanagerengine_test.h42 class GeocodeReplyTest : public QGeoCodeReply
46 GeocodeReplyTest(QObject *parent = 0) : QGeoCodeReply(parent) {} in QGeoCodeReply() function
72QGeoCodeReply* geocode(const QString &searchString, int limit, int offset, const QGeoShape &bounds) in geocode()
78 geocodereply->callSetError(QGeoCodeReply::NoError,searchString); in geocode()
82 return static_cast<QGeoCodeReply*>(geocodereply); in geocode()
85 QGeoCodeReply* geocode (const QGeoAddress &address, const QGeoShape &bounds) in geocode()
89 geocodereply->callSetError(QGeoCodeReply::NoError,address.city()); in geocode()
93 return static_cast<QGeoCodeReply*>(geocodereply); in geocode()
96 QGeoCodeReply* reverseGeocode(const QGeoCoordinate &coordinate, const QGeoShape &bounds) in reverseGeocode()
100 geocodereply->callSetError(QGeoCodeReply::NoError,coordinate.toString()); in reverseGeocode()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dgeocodingmanagerengine_esri.cpp100 QGeoCodeReply *GeoCodingManagerEngineEsri::geocode(const QGeoAddress &address, in geocode()
106 QGeoCodeReply *GeoCodingManagerEngineEsri::geocode(const QString &address, int limit, int offset, in geocode()
134 connect(geocodeReply, SIGNAL(error(QGeoCodeReply::Error,QString)), in geocode()
135 this, SLOT(replyError(QGeoCodeReply::Error,QString))); in geocode()
140 QGeoCodeReply *GeoCodingManagerEngineEsri::reverseGeocode(const QGeoCoordinate &coordinate, in reverseGeocode()
165 connect(geocodeReply, SIGNAL(error(QGeoCodeReply::Error,QString)), in reverseGeocode()
166 this, SLOT(replyError(QGeoCodeReply::Error,QString))); in reverseGeocode()
173 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in replyFinished()
178 void GeoCodingManagerEngineEsri::replyError(QGeoCodeReply::Error errorCode, in replyError()
181 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in replyError()
H A Dgeocodingmanagerengine_esri.h60 QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) override;
61 QGeoCodeReply *geocode(const QString &address, int limit, int offset,
63 QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate,
68 void replyError(QGeoCodeReply::Error errorCode, const QString &errorString);
H A Dgeocodereply_esri.cpp54 QGeoCodeReply(parent), m_operationType(operationType) in GeoCodeReplyEsri()
63 connect(this, &QGeoCodeReply::aborted, reply, &QNetworkReply::abort); in GeoCodeReplyEsri()
79 setError(QGeoCodeReply::CommunicationError, reply->errorString()); in networkReplyError()
131 setError(QGeoCodeReply::CommunicationError, QStringLiteral("Unknown document")); in networkReplyFinished()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeocodemodel_p.h97 NoError = QGeoCodeReply::NoError,
98 …EngineNotSetError = QGeoCodeReply::EngineNotSetError, //TODO Qt6 consider merge with NotSupportedE…
99 …CommunicationError = QGeoCodeReply::CommunicationError, //TODO Qt6 merge with Map's ConnectionError
100 ParseError = QGeoCodeReply::ParseError,
101 …UnsupportedOptionError = QGeoCodeReply::UnsupportedOptionError, //TODO Qt6 consider rename Unsuppo…
102 CombinationError = QGeoCodeReply::CombinationError,
103 UnknownError = QGeoCodeReply::UnknownError,
170 void geocodeFinished(QGeoCodeReply *reply);
171 void geocodeError(QGeoCodeReply *reply,
172 QGeoCodeReply::Error error,
[all …]
H A Dqdeclarativegeocodemodel.cpp180 if (reply_->error() == QGeoCodeReply::NoError) { in update()
190 if (reply_->error() == QGeoCodeReply::NoError) { in update()
200 if (reply_->error() == QGeoCodeReply::NoError) { in update()
320 connect(geocodingManager, SIGNAL(finished(QGeoCodeReply*)), in pluginReady()
321 this, SLOT(geocodeFinished(QGeoCodeReply*))); in pluginReady()
322 connect(geocodingManager, SIGNAL(error(QGeoCodeReply*,QGeoCodeReply::Error,QString)), in pluginReady()
323 this, SLOT(geocodeError(QGeoCodeReply*,QGeoCodeReply::Error,QString))); in pluginReady()
385 void QDeclarativeGeocodeModel::geocodeFinished(QGeoCodeReply *reply) in geocodeFinished()
387 if (reply != reply_ || reply->error() != QGeoCodeReply::NoError) in geocodeFinished()
405 void QDeclarativeGeocodeModel::geocodeError(QGeoCodeReply *reply, in geocodeError()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqgeocodingmanagerengineosm.cpp102 QGeoCodeReply *QGeoCodingManagerEngineOsm::geocode(const QGeoAddress &address, const QGeoShape &bou… in geocode()
107 QGeoCodeReply *QGeoCodingManagerEngineOsm::geocode(const QString &address, int limit, int offset, c… in geocode()
142 connect(geocodeReply, SIGNAL(error(QGeoCodeReply::Error,QString)), in geocode()
143 this, SLOT(replyError(QGeoCodeReply::Error,QString))); in geocode()
148 QGeoCodeReply *QGeoCodingManagerEngineOsm::reverseGeocode(const QGeoCoordinate &coordinate, in reverseGeocode()
178 connect(geocodeReply, SIGNAL(error(QGeoCodeReply::Error,QString)), in reverseGeocode()
179 this, SLOT(replyError(QGeoCodeReply::Error,QString))); in reverseGeocode()
186 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in replyFinished()
191 void QGeoCodingManagerEngineOsm::replyError(QGeoCodeReply::Error errorCode, const QString &errorStr… in replyError()
193 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in replyError()
H A Dqgeocodingmanagerengineosm.h60 QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) override;
61 QGeoCodeReply *geocode(const QString &address, int limit, int offset,
63 QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate,
68 void replyError(QGeoCodeReply::Error errorCode, const QString &errorString);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqgeocodingmanagerenginemapbox.cpp87 QGeoCodeReply *QGeoCodingManagerEngineMapbox::geocode(const QGeoAddress &address, const QGeoShape &… in geocode()
138 QGeoCodeReply *QGeoCodingManagerEngineMapbox::geocode(const QString &address, int limit, int offset… in geocode()
149 QGeoCodeReply *QGeoCodingManagerEngineMapbox::reverseGeocode(const QGeoCoordinate &coordinate, cons… in reverseGeocode()
159 QGeoCodeReply *QGeoCodingManagerEngineMapbox::doSearch(const QString &request, QUrlQuery &queryItem… in doSearch()
185 connect(reply, QOverload<QGeoCodeReply::Error, const QString &>::of(&QGeoCodeReply::error), in doSearch()
193 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in onReplyFinished()
198 void QGeoCodingManagerEngineMapbox::onReplyError(QGeoCodeReply::Error errorCode, const QString &err… in onReplyError()
200 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in onReplyError()
H A Dqgeocodingmanagerenginemapbox.h61 QGeoCodeReply *geocode(const QGeoAddress &address, const QGeoShape &bounds) override;
62 QGeoCodeReply *geocode(const QString &address, int limit, int offset,
64 QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate,
69 void onReplyError(QGeoCodeReply::Error errorCode, const QString &errorString);
72 QGeoCodeReply *doSearch(const QString &, QUrlQuery &, const QGeoShape &bounds);
H A Dqgeocodereplymapbox.cpp54 : QGeoCodeReply(parent) in QGeoCodeReplyMapbox()
65 connect(this, &QGeoCodeReply::aborted, reply, &QNetworkReply::abort); in QGeoCodeReplyMapbox()
102 setError(QGeoCodeReply::CommunicationError, reply->errorString()); in onNetworkReplyError()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqgeocodingmanagerengine_nokia.cpp100 QGeoCodeReply *QGeoCodingManagerEngineNokia::geocode(const QGeoAddress &address, in geocode()
185 QGeoCodeReply *QGeoCodingManagerEngineNokia::geocode(const QString &address, in geocode()
248 QGeoCodeReply *QGeoCodingManagerEngineNokia::geocode(QString requestString, in geocode()
261 …connect(reply, static_cast<void (QGeoCodeReply::*)(QGeoCodeReply::Error, const QString &)>(&QGeoCo… in geocode()
267 QGeoCodeReply *QGeoCodingManagerEngineNokia::reverseGeocode(const QGeoCoordinate &coordinate, in reverseGeocode()
317 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in placesFinished()
322 if (receivers(SIGNAL(finished(QGeoCodeReply*))) == 0) { in placesFinished()
330 void QGeoCodingManagerEngineNokia::placesError(QGeoCodeReply::Error error, const QString &errorStri… in placesError()
332 QGeoCodeReply *reply = qobject_cast<QGeoCodeReply *>(sender()); in placesError()
337 if (receivers(SIGNAL(error(QGeoCodeReply*,QGeoCodeReply::Error,QString))) == 0) { in placesError()
H A Dqgeocodingmanagerengine_nokia.h62 QGeoCodeReply *geocode(const QGeoAddress &address,
64 QGeoCodeReply *reverseGeocode(const QGeoCoordinate &coordinate,
67 QGeoCodeReply *geocode(const QString &searchString,
74 void placesError(QGeoCodeReply::Error error, const QString &errorString);
78QGeoCodeReply *geocode(QString requestString, const QGeoShape &bounds, bool manualBoundsRequired =…
H A Dqgeocodereply_nokia.cpp56 : QGeoCodeReply(parent), m_parsing(false), m_manualBoundsRequired(manualBoundsRequired) in Q_DECLARE_METATYPE()
67 connect(this, &QGeoCodeReply::aborted, reply, &QNetworkReply::abort); in Q_DECLARE_METATYPE()
68 connect(this, &QGeoCodeReply::aborted, [this](){ m_parsing = false; }); in Q_DECLARE_METATYPE()
106 setError(QGeoCodeReply::CommunicationError, reply->errorString()); in networkError()
123 setError(QGeoCodeReply::ParseError, in parseError()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeocodingmanager/
H A Dtst_qgeocodingmanager.cpp60 qRegisterMetaType<QGeoCodeReply::Error>(); in init()
61 qRegisterMetaType<QGeoCodeReply*>(); in init()
63 …signalerror = new QSignalSpy(qgeocodingmanager, SIGNAL(error(QGeoCodeReply*,QGeoCodeReply::Error,Q… in init()
64 signalfinished = new QSignalSpy(qgeocodingmanager, SIGNAL(finished(QGeoCodeReply*))); in init()
134 QGeoCodeReply * reply = qgeocodingmanager->geocode(search, limit,offset); in search()
152 QGeoCodeReply *reply = qgeocodingmanager->geocode(*address); in geocode()
169 QGeoCodeReply *reply = qgeocodingmanager->reverseGeocode(*coordinate); in reverseGeocode()

12