diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-07-28 07:01:30 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-07-29 00:51:26 (GMT) |
commit | 63920a41b8dde3b9fa2c47efe95fcbaf83a1178f (patch) | |
tree | 4873d5c0946dc906cc47d3ee4200a2f5e89356d2 /src | |
parent | dd871bf6208821ab9852680a338133accbfdedd7 (diff) | |
download | Qt-63920a41b8dde3b9fa2c47efe95fcbaf83a1178f.zip Qt-63920a41b8dde3b9fa2c47efe95fcbaf83a1178f.tar.gz Qt-63920a41b8dde3b9fa2c47efe95fcbaf83a1178f.tar.bz2 |
Improvements to Modules docs
Task-number: QTBUG-12430
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qdeclarativeextensionplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativeextensionplugin.cpp b/src/declarative/qml/qdeclarativeextensionplugin.cpp index 448fde2..9b5eb61 100644 --- a/src/declarative/qml/qdeclarativeextensionplugin.cpp +++ b/src/declarative/qml/qdeclarativeextensionplugin.cpp @@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE \o Subclass QDeclarativeExtensionPlugin, implement registerTypes() method to register types using qmlRegisterType(), and export the class using the Q_EXPORT_PLUGIN2() macro \o Write an appropriate project file for the plugin - \o Create a \l{The qmldir file}{qmldir file} to describe the plugin + \o Create a \l{Writing a qmldir file}{qmldir file} to describe the plugin \endlist QML extension plugins can be used to provide either application-specific or @@ -79,7 +79,7 @@ QT_BEGIN_NAMESPACE \dots To make this class available as a QML type, create a plugin that registers - this type using qmlRegisterType(). For this example the plugin + this type with a specific \l {QML Modules}{module} using qmlRegisterType(). For this example the plugin module will be named \c com.nokia.TimeExample (as defined in the project file further below). @@ -104,7 +104,7 @@ QT_BEGIN_NAMESPACE ... \endcode - Finally, a \l{The qmldir file}{qmldir file} is required in the \c com/nokia/TimeExample directory + Finally, a \l{Writing a qmldir file}{qmldir file} is required in the \c com/nokia/TimeExample directory that describes the plugin. This directory includes a \c Clock.qml file that should be bundled with the plugin, so it needs to be specified in the \c qmldir file: |