diff options
author | abcd <amos.choy@nokia.com> | 2012-08-23 16:25:44 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-26 05:21:17 +0200 |
commit | 9032eb2374678cb454e67c5cda79dabe99578901 (patch) | |
tree | fc8714ffbf1f7ab50809f06f6e9be9065f3458cb /src/imports | |
parent | 47108cfe90e0d819767cfe18f926c5cf087a1783 (diff) | |
download | qtlocation-9032eb2374678cb454e67c5cda79dabe99578901.tar.gz |
Document how to assign and write a PlaceAttribute
Change-Id: Iaa01b4a5a864c9fe6f15773edbf6f2c82d29f2e8
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/location/declarativeplaces/qdeclarativeplaceattribute.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/imports/location/declarativeplaces/qdeclarativeplaceattribute.cpp b/src/imports/location/declarativeplaces/qdeclarativeplaceattribute.cpp index 466e334d..2312989e 100644 --- a/src/imports/location/declarativeplaces/qdeclarativeplaceattribute.cpp +++ b/src/imports/location/declarativeplaces/qdeclarativeplaceattribute.cpp @@ -92,6 +92,9 @@ \codeline \snippet snippets/declarative/places.qml ExtendedAttributes read + The following example shows how to assign and modify an attribute: + \snippet snippets/declarative/places.qml + \sa PlaceAttribute, QQmlPropertyMap */ @@ -130,6 +133,9 @@ \snippet snippets/declarative/places.qml QtLocation import \codeline \snippet snippets/declarative/places.qml ExtendedAttributes + + The following example shows how to assign and modify an attribute: + \snippet snippets/declarative/places.qml ExtendedAttributes write */ QDeclarativePlaceAttribute::QDeclarativePlaceAttribute(QObject *parent) |