diff options
author | Aaron McCarthy <aaron.mccarthy@jollamobile.com> | 2014-07-17 12:08:30 +1000 |
---|---|---|
committer | Aaron McCarthy <mccarthy.aaron@gmail.com> | 2014-07-21 02:12:30 +0200 |
commit | 4bdf3bc386d8ace566633ae56505b9875764b16a (patch) | |
tree | 9a13360f8960523f880ffdd8d8810f52582a4c52 /src/location/maps/qgeomaptype_p_p.h | |
parent | f2e3523e3fcec83845a0ec73ff682367202a84f6 (diff) | |
download | qtlocation-4bdf3bc386d8ace566633ae56505b9875764b16a.tar.gz |
Add night property to MapType.
Similar to the mobile property this property allows applications to
determine if the tile set is optimized for night time use.
Change-Id: Ibaaffe6f745d90817b5938f493742fb019be0312
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/location/maps/qgeomaptype_p_p.h')
-rw-r--r-- | src/location/maps/qgeomaptype_p_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/location/maps/qgeomaptype_p_p.h b/src/location/maps/qgeomaptype_p_p.h index f01a25b7..eff27bcc 100644 --- a/src/location/maps/qgeomaptype_p_p.h +++ b/src/location/maps/qgeomaptype_p_p.h @@ -38,6 +38,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + #ifndef QGEOMAPTYPE_P_H #define QGEOMAPTYPE_P_H @@ -62,10 +63,9 @@ QT_BEGIN_NAMESPACE class QGeoMapTypePrivate : public QSharedData { - public: QGeoMapTypePrivate(); - QGeoMapTypePrivate(QGeoMapType::MapStyle style, const QString &name, const QString &description, bool mobile, int mapId); + QGeoMapTypePrivate(QGeoMapType::MapStyle style, const QString &name, const QString &description, bool mobile, bool night, int mapId); QGeoMapTypePrivate(const QGeoMapTypePrivate &other); ~QGeoMapTypePrivate(); @@ -77,6 +77,7 @@ public: QString name_; QString description_; bool mobile_; + bool night_; int mapId_; }; |