diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2011-10-07 10:06:03 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-10 05:25:50 +0200 |
commit | 9639f9485164ffb2a03d5edf6d5972d4048ea00c (patch) | |
tree | fed05f74a2a73583eaeb68d844200b3c92c17e54 /src/location/places/qplacedetailsreply.h | |
parent | 6f7d4efc56e33f49ae4289e93e26c38eb632fe5f (diff) | |
download | qtlocation-9639f9485164ffb2a03d5edf6d5972d4048ea00c.tar.gz |
Improve naming consistency in Places API.
Change-Id: Ic902592c3367a76fc0e23c237712224abbf31703
Reviewed-on: http://codereview.qt-project.org/6206
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplacedetailsreply.h')
-rw-r--r-- | src/location/places/qplacedetailsreply.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/location/places/qplacedetailsreply.h b/src/location/places/qplacedetailsreply.h index eed7b618..52bbf343 100644 --- a/src/location/places/qplacedetailsreply.h +++ b/src/location/places/qplacedetailsreply.h @@ -56,15 +56,16 @@ class Q_LOCATION_EXPORT QPlaceDetailsReply : public QPlaceReply { Q_OBJECT public: - QPlaceDetailsReply(QObject *parent =0); + explicit QPlaceDetailsReply(QObject *parent = 0); virtual ~QPlaceDetailsReply(); QPlaceReply::Type type() const; - QPlace result() const; + QPlace place() const; protected: - void setResult(const QPlace &result); + void setPlace(const QPlace &place); + private: Q_DISABLE_COPY(QPlaceDetailsReply) Q_DECLARE_PRIVATE(QPlaceDetailsReply) |