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/qplacesearchreply.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/qplacesearchreply.h')
-rw-r--r-- | src/location/places/qplacesearchreply.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/location/places/qplacesearchreply.h b/src/location/places/qplacesearchreply.h index 9d0ac343..5b1d9987 100644 --- a/src/location/places/qplacesearchreply.h +++ b/src/location/places/qplacesearchreply.h @@ -21,7 +21,8 @@ public: protected: void setResults(const QList<QPlaceSearchResult> &results); private: - QPlaceSearchReplyPrivate *d; + Q_DISABLE_COPY(QPlaceSearchReply) + Q_DECLARE_PRIVATE(QPlaceSearchReply) }; QTM_END_NAMESPACE |