diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-08-08 18:03:31 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-09 10:11:27 +0200 |
commit | 1a84b190bd1a2781d03f13fa43ab92bf34809041 (patch) | |
tree | be4523371df6d2d07041d95c070a22f4724cf031 /src/declarative/util/qdeclarativefontloader.cpp | |
parent | 955c2b0f29dc709a5cc7e563c21f0f2cf2370336 (diff) |
Add documentation
Copy the documentation back to the scenegraph items, and update it to
the new module syntax.
Change-Id: I5d030a231f991a209a8593ddb069e1b6cd03580e
Reviewed-on: http://codereview.qt.nokia.com/2735
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/declarative/util/qdeclarativefontloader.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativefontloader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/util/qdeclarativefontloader.cpp b/src/declarative/util/qdeclarativefontloader.cpp index 4d67736e0c..7a1dec88f0 100644 --- a/src/declarative/util/qdeclarativefontloader.cpp +++ b/src/declarative/util/qdeclarativefontloader.cpp @@ -145,8 +145,8 @@ QHash<QUrl, QDeclarativeFontObject*> QDeclarativeFontLoaderPrivate::fonts; /*! \qmlclass FontLoader QDeclarativeFontLoader + \inqmlmodule QtQuick 2 \ingroup qml-utility-elements - \since 4.7 \brief The FontLoader element allows fonts to be loaded by name or URL. The FontLoader element is used to load fonts by name or URL. @@ -179,7 +179,7 @@ QDeclarativeFontLoader::~QDeclarativeFontLoader() } /*! - \qmlproperty url FontLoader::source + \qmlproperty url QtQuick2::FontLoader::source The url of the font to load. */ QUrl QDeclarativeFontLoader::source() const @@ -253,7 +253,7 @@ void QDeclarativeFontLoader::updateFontInfo(const QString& name, QDeclarativeFon } /*! - \qmlproperty string FontLoader::name + \qmlproperty string QtQuick2::FontLoader::name This property holds the name of the font family. It is set automatically when a font is loaded using the \c url property. @@ -294,7 +294,7 @@ void QDeclarativeFontLoader::setName(const QString &name) } /*! - \qmlproperty enumeration FontLoader::status + \qmlproperty enumeration QtQuick2::FontLoader::status This property holds the status of font loading. It can be one of: \list |