marble
OSRMRunner.cpp
Go to the documentation of this file.
67 append( &url, "loc", QString::number( coordinates.latitude( degree ), 'f', 6 ) + ',' + QString::number( coordinates.longitude( degree ), 'f', 6 ) );
69 if ( hint.first == coordinates && hint.second != invalidEntry && m_hintChecksum != invalidEntry ) {
void setInterval(int msec)
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
QList< QVariant > toList() const
QScriptValue evaluate(const QString &program, const QString &fileName, int lineNumber)
QVariant toVariant() const
qreal latitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition: GeoDataCoordinates.cpp:751
QString toString() const
const QString nameString(const QString &name, qreal length, const QTime &duration) const
Definition: RoutingRunner.cpp:55
static QString generateRoadInstruction(TurnType turnType, const QString &roadName)
Definition: RoutingInstruction.cpp:357
const char * name() const
QString number(int n, int base)
QString fromUtf8(const char *str, int size)
int exec(QFlags< QEventLoop::ProcessEventsFlag > flags)
int toInt(bool *ok, int base) const
bool isFinished() const
bool isEmpty() const
virtual void retrieveRoute(const RouteRequest *request)
Start a route download orw calculation.
Definition: OSRMRunner.cpp:53
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
QByteArray readAll()
QTime addSecs(int s) const
const GeoDataExtendedData routeData(qreal length, const QTime &duration) const
Definition: RoutingRunner.cpp:61
void deleteLater()
QScriptValue property(const QString &name, const ResolveFlags &mode) const
qreal longitude(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:739
char toLatin1() const
void routeCalculated(GeoDataDocument *route)
Route download/calculation is finished, result in the given route object.
bool isString() const
QString mid(int position, int n) const
Definition: RoutingRunner.h:28
void setRawHeader(const QByteArray &headerName, const QByteArray &headerValue)
bool isValid() const
const QChar at(int position) const
int length() const
void start(int msec)
static QByteArray userAgent(const QString &platform, const QString &plugin)
Definition: TinyWebBrowser.cpp:106
QNetworkReply * get(const QNetworkRequest &request)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool isArray() const
qsreal toNumber() const
void setSingleShot(bool singleShot)
GeoDataCoordinates at(int index) const
Accessor for the n-th position.
Definition: RouteRequest.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.