diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-01-06 01:16:49 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-01-06 02:08:58 (GMT) |
commit | 57a3d4250ea438b2607d7f62ef26b8b83eb0f66c (patch) | |
tree | bcdfc151298d13cc6c65672547267d53895e645c /src/declarative | |
parent | 572598884de78c5026694843473122487269a244 (diff) | |
download | Qt-57a3d4250ea438b2607d7f62ef26b8b83eb0f66c.zip Qt-57a3d4250ea438b2607d7f62ef26b8b83eb0f66c.tar.gz Qt-57a3d4250ea438b2607d7f62ef26b8b83eb0f66c.tar.bz2 |
Doc fixes for introduction page and Item docs
Moved 'Identity' and 'Property Change Signals' sections from Item
docs to the intro page, which previously had a section on ids but
this has been moved out of the 'Properties' section since an id isn't
an ordinary property.
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp index 24d9b03..922fa8f 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp @@ -1333,23 +1333,6 @@ QDeclarativeKeysAttached *QDeclarativeKeysAttached::qmlAttachedProperties(QObjec } \endqml - \section1 Identity - - Each item has an "id" - the identifier of the Item. - - The identifier can be used in bindings and other expressions to - refer to the item. For example: - - \qml - Text { id: myText; ... } - Text { text: myText.text } - \endqml - - The identifier is available throughout to the \l {components}{component} - where it is declared. The identifier must be unique in the component. - - The id should not be thought of as a "property" - it makes no sense - to write \c myText.id, for example. \section1 Key Handling @@ -1376,17 +1359,6 @@ QDeclarativeKeysAttached *QDeclarativeKeysAttached::qmlAttachedProperties(QObjec \endqml See the \l {Keys}{Keys} attached property for detailed documentation. - - \section1 Property Change Signals - - Most properties on Item and Item derivatives have a signal - emitted when they change. By convention, the signals are - named <propertyName>Changed, e.g. xChanged will be emitted when an item's - x property changes. Note that these also have signal handers e.g. - the onXChanged signal handler will be called when an item's x property - changes. For many properties in Item or Item derivatives this can be used - to add a touch of imperative logic to your application (when absolutely - necessary). */ /*! |