From daecd3a72d73847f1e9200edc70dbdabde3d16c4 Mon Sep 17 00:00:00 2001 From: abcd Date: Wed, 12 May 2010 22:26:04 +1000 Subject: Rename QLandmark categories related functions to have Id(s) in them This is to be a more accurate description of what those functions do. --- doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src/snippets/qtlandmarksdocsample/qtlandmarksdocsample.cpp') 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] -- cgit v1.2.3