diff options
Diffstat (limited to 'src/location/maps/qgeotilespec_p.h')
-rw-r--r-- | src/location/maps/qgeotilespec_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/location/maps/qgeotilespec_p.h b/src/location/maps/qgeotilespec_p.h index ae2db7b6..e918b64b 100644 --- a/src/location/maps/qgeotilespec_p.h +++ b/src/location/maps/qgeotilespec_p.h @@ -68,7 +68,7 @@ class Q_LOCATION_EXPORT QGeoTileSpec public: QGeoTileSpec(); QGeoTileSpec(const QGeoTileSpec &other); - QGeoTileSpec(const QString &plugin, int mapId, int zoom, int x, int y); + QGeoTileSpec(const QString &plugin, int mapId, int zoom, int x, int y, int version = -1); ~QGeoTileSpec(); QGeoTileSpec &operator = (const QGeoTileSpec &other); @@ -87,6 +87,9 @@ public: void setMapId(int mapId); int mapId() const; + void setVersion(int version); + int version() const; + bool operator == (const QGeoTileSpec &rhs) const; bool operator < (const QGeoTileSpec &rhs) const; |