summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-07 07:19:42 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-07 08:10:09 (GMT)
commitf5dca266bbf75abe24f39ac8e4d96796529afd77 (patch)
tree4e35bc21ff7a571c32603bb408039b387bd92d8f /src/declarative/qml/qdeclarativecomponent.cpp
parentaf5fc41e27f068604453a927cac4d81886d1987e (diff)
downloadQt-f5dca266bbf75abe24f39ac8e4d96796529afd77.zip
Qt-f5dca266bbf75abe24f39ac8e4d96796529afd77.tar.gz
Qt-f5dca266bbf75abe24f39ac8e4d96796529afd77.tar.bz2
docs
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent.cpp')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp
index 8b013fe..04ec382 100644
--- a/src/declarative/qml/qdeclarativecomponent.cpp
+++ b/src/declarative/qml/qdeclarativecomponent.cpp
@@ -96,10 +96,10 @@ class QByteArray;
QObject *myObject = component.create();
QDeclarativeItem *item = qobject_cast<QDeclarativeItem*>(myObject);
- int width = item->width();
+ int width = item->width(); // width = 200
\endcode
- \sa {Using QML in C++ Applications}
+ \sa {Using QML in C++ Applications}, {Integrating QML with existing Qt UI code}
*/
/*!