diff options
author | abcd <qt-info@nokia.com> | 2011-06-07 18:48:58 +1000 |
---|---|---|
committer | abcd <qt-info@nokia.com> | 2011-06-07 18:48:58 +1000 |
commit | f55b614ed12ddd4ac35b1e45729989f9dcff4aa8 (patch) | |
tree | f0ee115325052979de549bdbfeac4bfc6437f91d /src/location/places/qplacedetailsreply.h | |
parent | ecd593f856859d750f0a0e4085d48238bad5a6d7 (diff) | |
download | qtlocation-f55b614ed12ddd4ac35b1e45729989f9dcff4aa8.tar.gz |
Refactor private classes to mirror inheritance of public classes
Essentially this is to have something like the bridge design
pattern.
Diffstat (limited to 'src/location/places/qplacedetailsreply.h')
-rw-r--r-- | src/location/places/qplacedetailsreply.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location/places/qplacedetailsreply.h b/src/location/places/qplacedetailsreply.h index 4153de62..55526f0e 100644 --- a/src/location/places/qplacedetailsreply.h +++ b/src/location/places/qplacedetailsreply.h @@ -21,7 +21,8 @@ public: protected: void setResult(const QPlace &result); private: - QPlaceDetailsReplyPrivate *d; + Q_DISABLE_COPY(QPlaceDetailsReply) + Q_DECLARE_PRIVATE(QPlaceDetailsReply) }; QTM_END_NAMESPACE |