From 02673fd6ca7ad85e48fe17ce329d54af101f3694 Mon Sep 17 00:00:00 2001 From: Jean Gressmann Date: Tue, 13 Mar 2012 18:23:20 +0100 Subject: isEmpty() functions for place data classes Task-number: QTBUG-23557 Added isEmpty() to QPlaceAttribute and QPlaceCategory. Change-Id: Ie87cc1606fc35656aa30c460ee47ab6cec71eddb Reviewed-by: Alex --- src/location/places/qplacecategory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/location/places/qplacecategory.h') diff --git a/src/location/places/qplacecategory.h b/src/location/places/qplacecategory.h index e45a06d1..b0da859a 100644 --- a/src/location/places/qplacecategory.h +++ b/src/location/places/qplacecategory.h @@ -85,6 +85,8 @@ public: QPlaceIcon icon() const; void setIcon(const QPlaceIcon &icon); + bool isEmpty() const; + private: QSharedDataPointer d; }; -- cgit v1.2.1