From 1ab855cd61581a073da86d2c64be0b889f004327 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 8 Nov 2010 21:48:52 +0100 Subject: Doc: Q_PROPERTY, implements the setter/getter in the example Some developer thought the implementation of the getters and setters needed to have some metaobject magic Also add a NOTIFY signal in the example Reviewed-by: Joao --- doc/src/snippets/code/doc_src_properties.qdoc | 17 ++++++++++++++--- doc/src/snippets/moc/myclass2.h | 7 +++++-- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/doc/src/snippets/code/doc_src_properties.qdoc b/doc/src/snippets/code/doc_src_properties.qdoc index 7704160..a4ed409 100644 --- a/doc/src/snippets/code/doc_src_properties.qdoc +++ b/doc/src/snippets/code/doc_src_properties.qdoc @@ -91,7 +91,7 @@ for (int i=0; i