summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-12 00:26:27 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-12 00:26:27 (GMT)
commitbf68ae221cc5b14612b638c6a162d8c5d0e3cf2c (patch)
treec2f20d18bde83a34a6ae3ef28e4622b7cc20f1c0 /doc/src
parent04de70b0510365d32bc8fab9101dc51c01536ba9 (diff)
downloadQt-bf68ae221cc5b14612b638c6a162d8c5d0e3cf2c.zip
Qt-bf68ae221cc5b14612b638c6a162d8c5d0e3cf2c.tar.gz
Qt-bf68ae221cc5b14612b638c6a162d8c5d0e3cf2c.tar.bz2
Doc
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/extending.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/extending.qdoc b/doc/src/declarative/extending.qdoc
index b6aa9da..e1c6469 100644
--- a/doc/src/declarative/extending.qdoc
+++ b/doc/src/declarative/extending.qdoc
@@ -655,7 +655,7 @@ declaring a new property, and the corresponding C++ type.
\row \o url \o QUrl
\row \o color \o QColor
\row \o date \o QDateTime
-\row \o var \o QVariant
+\row \o variant \o QVariant
\endtable
QML supports two methods for adding a new property to a type: a new property
@@ -852,7 +852,7 @@ Here are three examples of signal declarations:
Item {
signal clicked
signal hovered()
- signal performAction(string action, var actionArgument)
+ signal performAction(string action, variant actionArgument)
}
\endcode