From dfc0042f5b22bf6aa873b10b25e5b661f1754ecf Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sun, 19 Mar 2017 20:59:33 +0100 Subject: add firstname and lastname roles to peoplemodel, update ui to display them --- framework/domain/peoplemodel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'framework/domain/peoplemodel.h') diff --git a/framework/domain/peoplemodel.h b/framework/domain/peoplemodel.h index 419d59a6..1e9d2d01 100644 --- a/framework/domain/peoplemodel.h +++ b/framework/domain/peoplemodel.h @@ -48,7 +48,9 @@ public: Type, Emails, Addressbook, - DomainObject + DomainObject, + FirstName, + LastName }; QHash roleNames() const Q_DECL_OVERRIDE; -- cgit v1.2.3