28 QGeoTiledMapReply* getTileImage(
const QGeoTileSpec &spec)
final;
29 bool initialized() const final;
30 bool fetchingEnabled() const final;
31 void timerEvent(QTimerEvent *event) final;
32 void handleReply(QGeoTiledMapReply *reply, const QGeoTileSpec &spec) final;
34 QNetworkAccessManager *m_networkManager =
nullptr;
37 static constexpr const char* s_userAgent =
"Mozilla/5.0 (Macintosh; Intel Mac OS X 14.5; rv:125.0) Gecko/20100101 Firefox/125.0";
39 static constexpr const char* s_userAgent =
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/112.0";
40#elif defined Q_OS_ANDROID
41 static constexpr const char* s_userAgent =
"Mozilla/5.0 (Android 13; Tablet; rv:68.0) Gecko/68.0 Firefox/112.0";
42#elif defined Q_OS_LINUX
44 static constexpr const char* s_userAgent =
"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0";
46 static constexpr const char* s_userAgent =
"Qt Location based application";