diff options
| author | abcd <qt-info@nokia.com> | 2010-05-12 22:26:04 +1000 |
|---|---|---|
| committer | abcd <qt-info@nokia.com> | 2010-05-12 22:26:04 +1000 |
| commit | daecd3a72d73847f1e9200edc70dbdabde3d16c4 (patch) | |
| tree | ef7b43bcbc2439cee749f9aab18af440ce6d2808 /doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp | |
| parent | a0194aadf5775d79924217b13f463b0075c3ca82 (diff) | |
Rename QLandmark categories related functions to have Id(s) in them
This is to be a more accurate description of what those
functions do.
Diffstat (limited to 'doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp')
| -rw-r--r-- | doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp b/doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp index 0674311f0c..046698e1d0 100644 --- a/doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp +++ b/doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp @@ -315,7 +315,7 @@ void addLandmarkAndCategory(QLandmarkManager *lm) monks.setAddress(address); monks.setDescription("Jerry's favourite diner"); - monks.addCategory(cafes.id()); + monks.addCategoryId(cafes.id()); lm->saveLandmark(&monks); //lm is a QLandmarkManager* //! [Add landmark synchronously] |
