summaryrefslogtreecommitdiffstats
path: root/src/imports/location/qdeclarativegeomaptype_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/location/qdeclarativegeomaptype_p.h')
-rw-r--r--src/imports/location/qdeclarativegeomaptype_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativegeomaptype_p.h b/src/imports/location/qdeclarativegeomaptype_p.h
index 974e00a0..d8e020dd 100644
--- a/src/imports/location/qdeclarativegeomaptype_p.h
+++ b/src/imports/location/qdeclarativegeomaptype_p.h
@@ -57,6 +57,7 @@ class QDeclarativeGeoMapType : public QObject
Q_PROPERTY(QString name READ name CONSTANT)
Q_PROPERTY(QString description READ description CONSTANT)
Q_PROPERTY(bool mobile READ mobile CONSTANT)
+ Q_PROPERTY(bool night READ night CONSTANT)
public:
enum MapStyle {
@@ -80,12 +81,12 @@ public:
QString name() const;
QString description() const;
bool mobile() const;
+ bool night() const;
const QGeoMapType mapType() { return mapType_; }
private:
QGeoMapType mapType_;
-
};
QT_END_NAMESPACE