Home
last modified time | relevance | path

Searched refs:QGeoRouteReply (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoroutereply.cpp95 QGeoRouteReply::QGeoRouteReply(const QGeoRouteRequest &request, QObject *parent) in QGeoRouteReply() function in QGeoRouteReply
104 QGeoRouteReply::QGeoRouteReply(Error error, const QString &errorString, QObject *parent) in QGeoRouteReply() function in QGeoRouteReply
111 QGeoRouteReply::~QGeoRouteReply() in ~QGeoRouteReply()
126 void QGeoRouteReply::setFinished(bool finished) in setFinished()
137 bool QGeoRouteReply::isFinished() const in isFinished()
149 void QGeoRouteReply::setError(QGeoRouteReply::Error error, const QString &errorString) in setError()
162 QGeoRouteReply::Error QGeoRouteReply::error() const in error()
177 QString QGeoRouteReply::errorString() const in errorString()
185 QGeoRouteRequest QGeoRouteReply::request() const in request()
193 QList<QGeoRoute> QGeoRouteReply::routes() const in routes()
[all …]
H A Dqgeoroutingmanager.cpp167 SIGNAL(finished(QGeoRouteReply*)), in QGeoRoutingManager()
169 SIGNAL(finished(QGeoRouteReply*))); in QGeoRoutingManager()
172 SIGNAL(error(QGeoRouteReply*,QGeoRouteReply::Error,QString)), in QGeoRoutingManager()
174 SIGNAL(error(QGeoRouteReply*,QGeoRouteReply::Error,QString))); in QGeoRoutingManager()
233 QGeoRouteReply *QGeoRoutingManager::calculateRoute(const QGeoRouteRequest &request) in calculateRoute()
265 QGeoRouteReply *QGeoRoutingManager::updateRoute(const QGeoRoute &route, const QGeoCoordinate &posit… in updateRoute()
H A Dqgeoroutereply.h50 class Q_LOCATION_EXPORT QGeoRouteReply : public QObject
63 explicit QGeoRouteReply(Error error, const QString &errorString, QObject *parent = nullptr);
64 virtual ~QGeoRouteReply();
78 void error(QGeoRouteReply::Error error, const QString &errorString = QString());
81 explicit QGeoRouteReply(const QGeoRouteRequest &request, QObject *parent = nullptr);
91 Q_DISABLE_COPY(QGeoRouteReply)
H A Dqgeoroutingmanager.h60 QGeoRouteReply *calculateRoute(const QGeoRouteRequest &request);
61 QGeoRouteReply *updateRoute(const QGeoRoute &route, const QGeoCoordinate &position);
76 void finished(QGeoRouteReply *reply);
77 void error(QGeoRouteReply *reply, QGeoRouteReply::Error error, QString errorString = QString());
H A Dqgeoroutingmanagerengine.h60 virtual QGeoRouteReply *calculateRoute(const QGeoRouteRequest &request) = 0;
61 virtual QGeoRouteReply *updateRoute(const QGeoRoute &route, const QGeoCoordinate &position);
76 void finished(QGeoRouteReply *reply);
77 void error(QGeoRouteReply *reply, QGeoRouteReply::Error error, QString errorString = QString());
H A Dqgeoroutingmanagerengine.cpp197 QGeoRouteReply *QGeoRoutingManagerEngine::updateRoute(const QGeoRoute &route, const QGeoCoordinate … in updateRoute()
201 return new QGeoRouteReply(QGeoRouteReply::UnsupportedOptionError, in updateRoute()
H A Dqgeoroutereply_p.h64 QGeoRouteReplyPrivate(QGeoRouteReply::Error error, QString errorString);
67 QGeoRouteReply::Error error;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroutereply/
H A Dtst_qgeoroutereply.cpp58 qRegisterMetaType<QGeoRouteReply::Error>(); in init()
59 signalerror = new QSignalSpy(reply, SIGNAL(error(QGeoRouteReply::Error,QString))); in init()
72 QCOMPARE(reply->error(), QGeoRouteReply::NoError); in constructor()
84 QFETCH(QGeoRouteReply::Error,error); in constructor_error()
90 QGeoRouteReply *qgeoroutereplycopy = new QGeoRouteReply(error, msg, 0); in constructor_error()
104 QTest::addColumn<QGeoRouteReply::Error>("error"); in constructor_error_data()
107 QTest::newRow("error1") << QGeoRouteReply::NoError << "No error."; in constructor_error_data()
108 QTest::newRow("error2") << QGeoRouteReply::EngineNotSetError << "Engine Not Set Error."; in constructor_error_data()
109 QTest::newRow("error3") << QGeoRouteReply::CommunicationError << "Communication Error."; in constructor_error_data()
110 QTest::newRow("error4") << QGeoRouteReply::ParseError << "Parse Error."; in constructor_error_data()
[all …]
H A Dtst_qgeoroutereply.h43 class SubRouteReply :public QGeoRouteReply
47 SubRouteReply(QGeoRouteRequest request):QGeoRouteReply(request) {} in SubRouteReply()
48 void callSetError(QGeoRouteReply::Error error, QString msg) {setError(error,msg);} in callSetError()
93 Q_DECLARE_METATYPE( QGeoRouteReply::Error);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/nokia/
H A Dqgeoroutingmanagerengine_nokia.cpp110 QGeoRouteReply *QGeoRoutingManagerEngineNokia::calculateRoute(const QGeoRouteRequest &request) in calculateRoute()
115QGeoRouteReply *reply = new QGeoRouteReply(QGeoRouteReply::UnsupportedOptionError, "The given rout… in calculateRoute()
132 SIGNAL(error(QGeoRouteReply::Error,QString)), in calculateRoute()
134 SLOT(routeError(QGeoRouteReply::Error,QString))); in calculateRoute()
139 QGeoRouteReply *QGeoRoutingManagerEngineNokia::updateRoute(const QGeoRoute &route, const QGeoCoordi… in updateRoute()
144QGeoRouteReply *reply = new QGeoRouteReply(QGeoRouteReply::UnsupportedOptionError, "The given rout… in updateRoute()
163 SIGNAL(error(QGeoRouteReply::Error,QString)), in updateRoute()
165 SLOT(routeError(QGeoRouteReply::Error,QString))); in updateRoute()
466 QGeoRouteReply *reply = qobject_cast<QGeoRouteReply *>(sender()); in routeFinished()
471 if (receivers(SIGNAL(finished(QGeoRouteReply*))) == 0) { in routeFinished()
[all …]
H A Dqgeoroutereply_nokia.cpp52 : QGeoRouteReply(request, parent), m_parsers(0) in Q_DECLARE_METATYPE()
65 connect(this, &QGeoRouteReply::aborted, reply, &QNetworkReply::abort); in Q_DECLARE_METATYPE()
71 connect(this, &QGeoRouteReply::aborted, [this](){ m_parsers = 0; }); in Q_DECLARE_METATYPE()
103 setError(QGeoRouteReply::CommunicationError, reply->errorString()); in networkError()
124 setError(QGeoRouteReply::ParseError, in parserError()
H A Dqgeoroutingmanagerengine_nokia.h60 QGeoRouteReply *calculateRoute(const QGeoRouteRequest &request);
61 QGeoRouteReply *updateRoute(const QGeoRoute &route, const QGeoCoordinate &position);
65 void routeError(QGeoRouteReply::Error error, const QString &errorString);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/osm/
H A Dqgeoroutingmanagerengineosm.cpp86 QGeoRouteReply* QGeoRoutingManagerEngineOsm::calculateRoute(const QGeoRouteRequest &request) in calculateRoute()
98 connect(routeReply, SIGNAL(error(QGeoRouteReply::Error,QString)), in calculateRoute()
99 this, SLOT(replyError(QGeoRouteReply::Error,QString))); in calculateRoute()
111 QGeoRouteReply *reply = qobject_cast<QGeoRouteReply *>(sender()); in replyFinished()
116 void QGeoRoutingManagerEngineOsm::replyError(QGeoRouteReply::Error errorCode, in replyError()
119 QGeoRouteReply *reply = qobject_cast<QGeoRouteReply *>(sender()); in replyError()
H A Dqgeoroutereplyosm.cpp47 : QGeoRouteReply(request, parent) in QGeoRouteReplyOsm()
56 connect(this, &QGeoRouteReply::aborted, reply, &QNetworkReply::abort); in QGeoRouteReplyOsm()
77 QGeoRouteReply::Error error = parser->parseReply(routes, errorString, reply->readAll()); in networkReplyFinished()
86 if (error == QGeoRouteReply::NoError) { in networkReplyFinished()
100 setError(QGeoRouteReply::CommunicationError, reply->errorString()); in networkReplyError()
H A Dqgeoroutingmanagerengineosm.h61 QGeoRouteReply *calculateRoute(const QGeoRouteRequest &request);
66 void replyError(QGeoRouteReply::Error errorCode, const QString &errorString);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/nokia_services/routing/
H A Dtst_routing.cpp168 void onReply(QGeoRouteReply* reply);
173 void routingFinished(QGeoRouteReply* reply);
174 void routingError(QGeoRouteReply* reply, QGeoRouteReply::Error error, QString errorString);
197 QGeoRouteReply* m_reply;
241 void tst_nokia_routing::onReply(QGeoRouteReply* reply) in onReply()
303 void tst_nokia_routing::routingFinished(QGeoRouteReply* reply) in routingFinished()
308 void tst_nokia_routing::routingError(QGeoRouteReply* reply, QGeoRouteReply::Error error, QString er… in routingError()
337 connect(m_routingManager, SIGNAL(finished(QGeoRouteReply*)), in initTestCase()
338 this, SLOT(routingFinished(QGeoRouteReply*))); in initTestCase()
339 connect(m_routingManager, SIGNAL(error(QGeoRouteReply*,QGeoRouteReply::Error,QString)), in initTestCase()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/geotestplugin/
H A Dqgeoroutingmanagerengine_test.h72 class RouteReplyTest :public QGeoRouteReply
77 RouteReplyTest(QObject *parent=0) :QGeoRouteReply (QGeoRouteRequest(), parent) in QGeoRouteReply() function
90 QGeoRouteReply::Error errorCode_;
101 errorCode_(QGeoRouteReply::NoError), in QGeoRoutingManagerEngineTest()
139 virtual QGeoRouteReply* calculateRoute(const QGeoRouteRequest& request) in calculateRoute()
145 errorCode_ = (QGeoRouteReply::Error)(request.numberAlternativeRoutes() - 70); in calculateRoute()
148 errorCode_ = QGeoRouteReply::NoError; in calculateRoute()
156 routeReply_->callSetError(QGeoRouteReply::NoError, "no error"); in calculateRoute()
164 return static_cast<QGeoRouteReply*>(routeReply_); in calculateRoute()
208 errorCode_ = QGeoRouteReply::NoError; in requestAborted()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeoroutingmanagerplugins/
H A Dqgeoroutingmanagerengine_test.h59 QGeoRouteReply* calculateRoute(const QGeoRouteRequest& request) in calculateRoute()
62 return new QGeoRouteReply(QGeoRouteReply::NoError,"no error"); in calculateRoute()
65 QGeoRouteReply* updateRoute(const QGeoRoute &route, const QGeoCoordinate &position) in updateRoute()
69 return new QGeoRouteReply(QGeoRouteReply::CommunicationError,"no error"); in updateRoute()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dgeoroutingmanagerengine_esri.cpp75 QGeoRouteReply *GeoRoutingManagerEngineEsri::calculateRoute(const QGeoRouteRequest &request) in calculateRoute()
106 …connect(routeReply, SIGNAL(error(QGeoRouteReply::Error,QString)), this, SLOT(replyError(QGeoRouteR… in calculateRoute()
113 QGeoRouteReply *reply = qobject_cast<QGeoRouteReply *>(sender()); in replyFinished()
118 void GeoRoutingManagerEngineEsri::replyError(QGeoRouteReply::Error errorCode, const QString &errorS… in replyError()
120 QGeoRouteReply *reply = qobject_cast<QGeoRouteReply *>(sender()); in replyError()
H A Dgeoroutereply_esri.cpp51 QGeoRouteReply(request, parent) in GeoRouteReplyEsri()
60 connect(this, &QGeoRouteReply::aborted, reply, &QNetworkReply::abort); in GeoRouteReplyEsri()
84 setError(QGeoRouteReply::ParseError, parser.errorString()); in networkReplyFinished()
93 setError(QGeoRouteReply::CommunicationError, reply->errorString()); in networkReplyError()
H A Dgeoroutingmanagerengine_esri.h59 QGeoRouteReply *calculateRoute(const QGeoRouteRequest &request) override;
63 void replyError(QGeoRouteReply::Error errorCode, const QString &errorString);
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/mapbox/
H A Dqgeoroutereplymapbox.cpp97 : QGeoRouteReply(request, parent) in QGeoRouteReplyMapbox()
106 connect(this, &QGeoRouteReply::aborted, reply, &QNetworkReply::abort); in QGeoRouteReplyMapbox()
129 QGeoRouteReply::Error error = parser->parseReply(routes, errorString, routeReply); in networkReplyFinished()
147 if (error == QGeoRouteReply::NoError) { in networkReplyFinished()
161 setError(QGeoRouteReply::CommunicationError, reply->errorString()); in networkReplyError()
H A Dqgeoroutingmanagerenginemapbox.cpp258 QGeoRouteReply* QGeoRoutingManagerEngineMapbox::calculateRoute(const QGeoRouteRequest &request) in calculateRoute()
289 connect(routeReply, SIGNAL(error(QGeoRouteReply::Error,QString)), in calculateRoute()
290 this, SLOT(replyError(QGeoRouteReply::Error,QString))); in calculateRoute()
302 QGeoRouteReply *reply = qobject_cast<QGeoRouteReply *>(sender()); in replyFinished()
307 void QGeoRoutingManagerEngineMapbox::replyError(QGeoRouteReply::Error errorCode, in replyError()
310 QGeoRouteReply *reply = qobject_cast<QGeoRouteReply *>(sender()); in replyError()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeoroutemodel_p.h105 NoError = QGeoRouteReply::NoError,
106 EngineNotSetError = QGeoRouteReply::EngineNotSetError,
107 CommunicationError = QGeoRouteReply::CommunicationError,
108 ParseError = QGeoRouteReply::ParseError,
109 UnsupportedOptionError = QGeoRouteReply::UnsupportedOptionError,
110 UnknownError = QGeoRouteReply::UnknownError,
166 void routingFinished(QGeoRouteReply *reply);
167 void routingError(QGeoRouteReply *reply,
168 QGeoRouteReply::Error error,
H A Dqdeclarativegeoroutemodel.cpp376 connect(routingManager, SIGNAL(finished(QGeoRouteReply*)), in pluginReady()
377 this, SLOT(routingFinished(QGeoRouteReply*))); in pluginReady()
378 connect(routingManager, SIGNAL(error(QGeoRouteReply*,QGeoRouteReply::Error,QString)), in pluginReady()
379 this, SLOT(routingError(QGeoRouteReply*,QGeoRouteReply::Error,QString))); in pluginReady()
644 QGeoRouteReply *reply = routingManager->calculateRoute(request); in update()
647 connect(this, &QDeclarativeGeoRouteModel::abortRequested, reply, &QGeoRouteReply::abort); in update()
649 if (reply->error() == QGeoRouteReply::NoError) { in update()
660 void QDeclarativeGeoRouteModel::routingFinished(QGeoRouteReply *reply) in routingFinished()
665 if (reply->error() != QGeoRouteReply::NoError) in routingFinished()
692 void QDeclarativeGeoRouteModel::routingError(QGeoRouteReply *reply, in routingError()
[all …]

12