marble
OsmNominatimReverseGeocodingRunner.cpp
Go to the documentation of this file.
61 m_request.setRawHeader("User-Agent", TinyWebBrowser::userAgent("Browser", "OsmNominatimRunner") );
130 void OsmNominatimRunner::addData( const QDomNodeList &node, const QString &key, GeoDataExtendedData *extendedData )
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
void setInterval(int msec)
QDomNodeList elementsByTagName(const QString &tagname) const
QDomNode item(int index) const
void setUrl(const QUrl &url)
QString toString(int indent) const
QDomElement documentElement() 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
virtual void reverseGeocoding(const GeoDataCoordinates &coordinates)
Start a reverse geocoding request.
Definition: OsmNominatimReverseGeocodingRunner.cpp:50
QDomElement toElement() const
~OsmNominatimRunner()
Definition: OsmNominatimReverseGeocodingRunner.cpp:39
QString text() const
int exec(QFlags< QEventLoop::ProcessEventsFlag > flags)
QByteArray readAll()
virtual qint64 bytesAvailable() 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
void setRawHeader(const QByteArray &headerName, const QByteArray &headerValue)
OsmNominatimRunner(QObject *parent=0)
Definition: OsmNominatimReverseGeocodingRunner.cpp:31
void start(int msec)
static QByteArray userAgent(const QString &platform, const QString &plugin)
Definition: TinyWebBrowser.cpp:106
QNetworkReply * get(const QNetworkRequest &request)
int size() const
void reverseGeocodingFinished(const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark)
Reverse geocoding is finished, result in the given placemark.
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
bool setContent(const QByteArray &data, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn)
void setSingleShot(bool singleShot)
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.