22 #include <QNetworkReply> 45 static QString defaultServiceUrl();
62 bool hasError()
const {
return !mError.isNull(); }
82 bool isFinished()
const;
86 void downloadProgress( qint64, qint64 );
91 void onError( QNetworkReply::NetworkError err );
102 #endif // OSMDOWNLOAD_H void setOutputFileName(const QString &outputFileName)
void setQuery(const QString &query)
A rectangle specified with double values.
OSMDownload is a utility class for downloading OpenStreetMap via Overpass API.
QString errorString() const
void setServiceUrl(const QString &serviceUrl)
QString serviceUrl() const
QString outputFileName() const