Use the updated module api registration function in example
authorChris Adams <christopher.adams@nokia.com>
Mon, 2 Apr 2012 06:01:34 +0000 (16:01 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 5 Apr 2012 07:50:05 +0000 (09:50 +0200)
commit664a0e3f498db65f74b0e0181a0ec76cd6691a34
treea10b0e66ee03eb1887f0ed8e1511e1e82d2da5ae
parent2149e9e617f72324bc9297ade3dc1884e15d75c1
Use the updated module api registration function in example

Previously, the example used the non-templated registration function.
This commit also links the qmlRegisterModuleApi documentation from the
"Creating QML Types" page.

Change-Id: I43afb5c051a52fef4059160972f7508f40dac523
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
doc/src/qml/qmltypes.qdoc
doc/src/qml/qtdeclarative.qdoc