diff options
author | Jean Gressmann <jean.gressmann@nokia.com> | 2012-03-13 18:23:20 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-15 13:34:15 +0100 |
commit | 02673fd6ca7ad85e48fe17ce329d54af101f3694 (patch) | |
tree | e5819fdb17c91439ff688a7381bca619f7d3eb62 /src/location/places/qplaceattribute_p.h | |
parent | b827cee44697b3766543870be7c5bcbb89f0c692 (diff) | |
download | qtlocation-02673fd6ca7ad85e48fe17ce329d54af101f3694.tar.gz |
isEmpty() functions for place data classes
Task-number: QTBUG-23557
Added isEmpty() to QPlaceAttribute and QPlaceCategory.
Change-Id: Ie87cc1606fc35656aa30c460ee47ab6cec71eddb
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/location/places/qplaceattribute_p.h')
-rw-r--r-- | src/location/places/qplaceattribute_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/places/qplaceattribute_p.h b/src/location/places/qplaceattribute_p.h index 0219a860..b8f94d33 100644 --- a/src/location/places/qplaceattribute_p.h +++ b/src/location/places/qplaceattribute_p.h @@ -70,6 +70,8 @@ public: virtual bool operator== (const QPlaceAttributePrivate &other) const; virtual QPlaceAttributePrivate* clone() const { return new QPlaceAttributePrivate(*this); } + bool isEmpty() const; + QString label; QString text; }; |