8QGeoMapReplyOsm::QGeoMapReplyOsm(QNetworkReply *reply,
9 const QGeoTileSpec &spec,
10 const QString &imageFormat,
12: QGeoTiledMapReply(spec, parent)
15 setError(UnknownError, QStringLiteral(
"Null reply"));
18 connect(reply, &QNetworkReply::finished,
19 this, &QGeoMapReplyOsm::networkReplyFinished);
20 connect(reply, &QNetworkReply::errorOccurred,
21 this, &QGeoMapReplyOsm::networkReplyError);
22 connect(
this, &QGeoTiledMapReply::aborted, reply, &QNetworkReply::abort);
23 connect(
this, &QObject::destroyed, reply, &QObject::deleteLater);
24 setMapImageFormat(imageFormat);