summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/extending.qdoc
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-02-03 13:06:14 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-02-03 18:15:46 (GMT)
commit37ca31b22426ac746641b9ff22d9df4ff71850c1 (patch)
treeb6cf25a3ff7e4e16d48c89a77d4e594b05bd2a5f /doc/src/declarative/extending.qdoc
parentea3cc91feedc14f4f967768c3e337d69423856ea (diff)
downloadQt-37ca31b22426ac746641b9ff22d9df4ff71850c1.zip
Qt-37ca31b22426ac746641b9ff22d9df4ff71850c1.tar.gz
Qt-37ca31b22426ac746641b9ff22d9df4ff71850c1.tar.bz2
Augment documentation
Document automatic signal handlers and QmlViewer.Screen.
Diffstat (limited to 'doc/src/declarative/extending.qdoc')
-rw-r--r--doc/src/declarative/extending.qdoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/declarative/extending.qdoc b/doc/src/declarative/extending.qdoc
index 42b054f..3b9c7f3 100644
--- a/doc/src/declarative/extending.qdoc
+++ b/doc/src/declarative/extending.qdoc
@@ -825,6 +825,17 @@ Here are three examples of signal declarations:
}
\endcode
+Adding a signal to an item automatically adds a signal handler to it.
+The signal hander is named on<Signal name>, with the first letter of the
+signal name being upper cased. The above example item would now have the
+following signal handlers:
+
+\list
+ \o onClicked
+ \o onHovered
+ \o onPerformAction
+\endlist
+
\section1 Adding new methods
New methods can be added to an existing type. These new methods are available