summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@digia.com>2013-11-29 15:35:28 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-29 17:28:56 +0100
commit9da68382181bc74f58a7aa0de39550dccc70ae93 (patch)
treec7421ea26acd2e913bca78aa7495e77de8943b00 /examples
parent9c039ff55cb07eee01e03266563ca8b1453f2d73 (diff)
downloadqtenginio-9da68382181bc74f58a7aa0de39550dccc70ae93.tar.gz
Rename Enginio::LastRole to Enginio::CustomPropertyRole
Fix small mistakes related to Enginio::Role documentation Change-Id: Ia4241e750f684b80cdf0984d44939c53f08e19df Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/cloudaddressbook/addressbookmodel.h2
-rw-r--r--examples/widgets/todos-cpp/todosmodel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/cloudaddressbook/addressbookmodel.h b/examples/widgets/cloudaddressbook/addressbookmodel.h
index 362a931..fc5580c 100644
--- a/examples/widgets/cloudaddressbook/addressbookmodel.h
+++ b/examples/widgets/cloudaddressbook/addressbookmodel.h
@@ -54,7 +54,7 @@ class AddressBookModel : public EnginioModel
public:
//![Roles]
enum Roles {
- FirstNameRole = Enginio::LastRole,
+ FirstNameRole = Enginio::CustomPropertyRole,
LastNameRole,
EmailRole,
PhoneRole,
diff --git a/examples/widgets/todos-cpp/todosmodel.h b/examples/widgets/todos-cpp/todosmodel.h
index c839753..76e2f19 100644
--- a/examples/widgets/todos-cpp/todosmodel.h
+++ b/examples/widgets/todos-cpp/todosmodel.h
@@ -51,7 +51,7 @@ class TodosModel : public EnginioModel
public:
enum Role
{
- TitleRole = Enginio::LastRole,
+ TitleRole = Enginio::CustomPropertyRole,
CompletedRole
};
//![definition]