summaryrefslogtreecommitdiff
path: root/src/location/places/qplacedetailsreply.h
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2011-06-07 18:48:58 +1000
committerabcd <qt-info@nokia.com>2011-06-07 18:48:58 +1000
commitf55b614ed12ddd4ac35b1e45729989f9dcff4aa8 (patch)
treef0ee115325052979de549bdbfeac4bfc6437f91d /src/location/places/qplacedetailsreply.h
parentecd593f856859d750f0a0e4085d48238bad5a6d7 (diff)
downloadqtlocation-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.h3
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