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