summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qtlandmarksdocsample/requestexample.h
diff options
context:
space:
mode:
authorabcd <qt-info@nokia.com>2010-04-22 11:52:53 +1000
committerabcd <qt-info@nokia.com>2010-04-22 11:52:53 +1000
commitff5cd8c94aae3f328d1a37a87f84f71c829fb845 (patch)
tree3c4a851c237836bb316fa62a43b79f88cd0e5be9 /doc/src/snippets/qtlandmarksdocsample/requestexample.h
parentcf2c33c15dd095caebc6538d97ffa450403f42b1 (diff)
Fix compile caused by broken example
Diffstat (limited to 'doc/src/snippets/qtlandmarksdocsample/requestexample.h')
-rw-r--r--doc/src/snippets/qtlandmarksdocsample/requestexample.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/snippets/qtlandmarksdocsample/requestexample.h b/doc/src/snippets/qtlandmarksdocsample/requestexample.h
index a87d5dbc82..a73c332c71 100644
--- a/doc/src/snippets/qtlandmarksdocsample/requestexample.h
+++ b/doc/src/snippets/qtlandmarksdocsample/requestexample.h
@@ -59,12 +59,12 @@ class RequestExample : public QObject
public:
RequestExample():QObject(),
lmManager(new QLandmarkManager(this)),
- catSaveRequest(new QLandmarkCategorySaveRequest(this)),
- lmSaveRequest(new QLandmarkSaveRequest(this)),
- catFetchRequest(new QLandmarkCategoryFetchRequest(this)),
- lmFetchRequest(new QLandmarkFetchRequest(this)),
- catRemoveRequest(new QLandmarkCategoryRemoveRequest(this)),
- lmRemoveRequest(new QLandmarkRemoveRequest(this))
+ catSaveRequest(new QLandmarkCategorySaveRequest(lmManager, this)),
+ lmSaveRequest(new QLandmarkSaveRequest(lmManager, this)),
+ catFetchRequest(new QLandmarkCategoryFetchRequest(lmManager, this)),
+ lmFetchRequest(new QLandmarkFetchRequest(lmManager, this)),
+ catRemoveRequest(new QLandmarkCategoryRemoveRequest(lmManager, this)),
+ lmRemoveRequest(new QLandmarkRemoveRequest(lmManager, this))
{}
~RequestExample(){}