summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-26 23:59:59 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-27 02:12:49 (GMT)
commit9ea7bb34e4b41e1263acb8a175f61566046f9bf6 (patch)
treecf1c34db5cb295f05fde2fc562f1b867032fd9bf /src/declarative/qml
parentb4b0bdda668e9845623995c788d88a774dd52d98 (diff)
downloadQt-9ea7bb34e4b41e1263acb8a175f61566046f9bf6.zip
Qt-9ea7bb34e4b41e1263acb8a175f61566046f9bf6.tar.gz
Qt-9ea7bb34e4b41e1263acb8a175f61566046f9bf6.tar.bz2
various doc fixes
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.cpp4
-rw-r--r--src/declarative/qml/qdeclarativeengine.cpp2
-rw-r--r--src/declarative/qml/qdeclarativeimageprovider.cpp3
3 files changed, 4 insertions, 5 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp
index 36c4b49..7bc6184 100644
--- a/src/declarative/qml/qdeclarativecomponent.cpp
+++ b/src/declarative/qml/qdeclarativecomponent.cpp
@@ -119,6 +119,8 @@ class QByteArray;
\qml
Item {
+ width: 100; height: 100
+
Component {
id: redSquare
@@ -146,7 +148,7 @@ class QByteArray;
to specify how each list item is to be displayed.
Component objects can also be dynamically generated using
- \l{Qt::createComponent}{Qt.createComponent()}.
+ \l{Qt::createComponent()}{Qt.createComponent()}.
*/
/*!
diff --git a/src/declarative/qml/qdeclarativeengine.cpp b/src/declarative/qml/qdeclarativeengine.cpp
index e3ebca3..e313c97 100644
--- a/src/declarative/qml/qdeclarativeengine.cpp
+++ b/src/declarative/qml/qdeclarativeengine.cpp
@@ -228,7 +228,7 @@ There are also string based constructors for these types. See \l{qdeclarativebas
\section1 Date/Time Formatters
-The Qt object contains several functions for formatting dates and times.
+The Qt object contains several functions for formatting QDateTime, QDate and QTime values.
\list
\o \l{QML:Qt::formatDateTime}{string Qt.formatDateTime(datetime date, variant format)}
diff --git a/src/declarative/qml/qdeclarativeimageprovider.cpp b/src/declarative/qml/qdeclarativeimageprovider.cpp
index a294c38..241df87 100644
--- a/src/declarative/qml/qdeclarativeimageprovider.cpp
+++ b/src/declarative/qml/qdeclarativeimageprovider.cpp
@@ -212,9 +212,6 @@ QImage QDeclarativeImageProvider::requestImage(const QString &id, QSize *size, c
In all cases, \a size must be set to the original size of the image. This
is used to set the \l {Item::}{width} and \l {Item::}{height} of image
elements that should be automatically sized to the loaded image.
-
- \note this method may be called by multiple threads, so ensure the
- implementation of this method is reentrant.
*/
QPixmap QDeclarativeImageProvider::requestPixmap(const QString &id, QSize *size, const QSize& requestedSize)
{