diff options
Diffstat (limited to 'src/contacts/details/qcontacttype.h')
-rw-r--r-- | src/contacts/details/qcontacttype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contacts/details/qcontacttype.h b/src/contacts/details/qcontacttype.h index 597e0fe68..d9ada7a9b 100644 --- a/src/contacts/details/qcontacttype.h +++ b/src/contacts/details/qcontacttype.h @@ -57,8 +57,8 @@ public: TypeFacet }; - void setType(const TypeValues newType) {setValue(FieldType, newType);} - TypeValues type() const {return static_cast<TypeValues>(value<int>(FieldType));} + void setType(TypeValues newType); + TypeValues type() const; }; QT_END_NAMESPACE_CONTACTS |