summaryrefslogtreecommitdiffstats
path: root/doc/src/properties.qdoc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-06-02 18:07:04 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-06-02 18:07:04 (GMT)
commitd37de8e085bdc3ee5d0185b403879bac485ef834 (patch)
tree1fb4212e518b18959a9b37d639d2ca443dd34c37 /doc/src/properties.qdoc
parent5db85c671e84bcf7e330cdee4e43d514fcdc6182 (diff)
downloadQt-d37de8e085bdc3ee5d0185b403879bac485ef834.zip
Qt-d37de8e085bdc3ee5d0185b403879bac485ef834.tar.gz
Qt-d37de8e085bdc3ee5d0185b403879bac485ef834.tar.bz2
Doc: Modified the property documentation to relax the restriction on
const getter functions. Task-number: 254722 Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/properties.qdoc')
-rw-r--r--doc/src/properties.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/properties.qdoc b/doc/src/properties.qdoc
index d934f13..0251d3f 100644
--- a/doc/src/properties.qdoc
+++ b/doc/src/properties.qdoc
@@ -71,10 +71,10 @@
\list
\o A \c READ accessor function is required. It is for reading the
- property value. It must be const and must return either the
- property's type or a pointer or reference to that type. e.g.,
- QWidget::focus is a read-only property with \c READ function
- QWidget::hasFocus().
+ property value. Ideally, a const function is used for this purpose,
+ and it must return either the property's type or a pointer or
+ reference to that type. e.g., QWidget::focus is a read-only property
+ with \c READ function, QWidget::hasFocus().
\o A \c WRITE accessor function is optional. It is for setting the
property value. It must return void and must take exactly one