Add docs on using a query in XMLRole with the less obvious boolean()
authorDavid Greaves <david@dgreaves.com>
Fri, 27 Dec 2013 22:37:25 +0000 (22:37 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 17 Mar 2014 08:57:47 +0000 (09:57 +0100)
commit003bac68790dec149eb5cc085bd8a25b468fb155
tree4fbaea51cb7f68f9427ded7613eebbcc5e84954b
parent1bec5e806c909d723994dab46271dfe6f60db6cd
Add docs on using a query in XMLRole with the less obvious boolean()

Added to a documentation snippet since a direct boolean map is useful
in QML for toggles and using "@wanted/boolean()" as the @type example
does, would be wrong.

Change-Id: If412ec0f4891db39fe1a219f9cb89e1f7103fd38
Signed-off-by: David Greaves <david@dgreaves.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
src/quick/doc/snippets/qml/xmlrole.qml