summaryrefslogtreecommitdiffstats
path: root/doc/src/properties.qdoc
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-05-06 14:48:55 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-05-06 14:48:55 (GMT)
commit92f2815bf45a67ec8c6b94ca26fb8598a07a6de2 (patch)
treec29fe0c62f0c2bec932055c5f0ff82eef72674da /doc/src/properties.qdoc
parent91ffeeb342ce85dbd24f49c45adce5cb21a973a4 (diff)
downloadQt-92f2815bf45a67ec8c6b94ca26fb8598a07a6de2.zip
Qt-92f2815bf45a67ec8c6b94ca26fb8598a07a6de2.tar.gz
Qt-92f2815bf45a67ec8c6b94ca26fb8598a07a6de2.tar.bz2
Doc: Added info on NOTIFY to the Q_PROPERTY docs.
Task-number: 248336
Diffstat (limited to 'doc/src/properties.qdoc')
-rw-r--r--doc/src/properties.qdoc7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/properties.qdoc b/doc/src/properties.qdoc
index 0775b12..d934f13 100644
--- a/doc/src/properties.qdoc
+++ b/doc/src/properties.qdoc
@@ -89,7 +89,12 @@
and QWidget::setCursor(), and it also has a \c RESET function,
QWidget::unsetCursor(), since no call to QWidget::setCursor() can
mean \e {reset to the context specific cursor}. The \c RESET
- function musrt return void and take no parameters.
+ function must return void and take no parameters.
+
+ \o A \c NOTIFY signal is optional. If defined, the signal will be
+ emitted whenever the value of the property changes. The signal must
+ take one parameter, which must be of the same type as the property; the
+ parameter will take the new value of the property.
\o The \c DESIGNABLE attribute indicates whether the property
should be visible in the property editor of GUI design tool (e.g.,