diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-06-10 01:19:48 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-06-10 01:23:51 (GMT) |
commit | 2306073c6806e3e35d0786fec5c49e165b119e36 (patch) | |
tree | 7dac894964284deb8ceb570f4935b2e0d6b73726 /src/declarative/util/qdeclarativepackage.cpp | |
parent | d346ba1ec7a1becd5120fbe181da0374606481c6 (diff) | |
download | Qt-2306073c6806e3e35d0786fec5c49e165b119e36.zip Qt-2306073c6806e3e35d0786fec5c49e165b119e36.tar.gz Qt-2306073c6806e3e35d0786fec5c49e165b119e36.tar.bz2 |
Document attached properties
Diffstat (limited to 'src/declarative/util/qdeclarativepackage.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativepackage.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativepackage.cpp b/src/declarative/util/qdeclarativepackage.cpp index 9245fc2..b149120 100644 --- a/src/declarative/util/qdeclarativepackage.cpp +++ b/src/declarative/util/qdeclarativepackage.cpp @@ -55,7 +55,7 @@ QT_BEGIN_NAMESPACE to be provided to multiple views. Any item within a Package may be assigned a name via the - \e {Package.name} attached property. + \l{Package::name}{Package.name} attached property. The example below creates a Package containing two named items; \e list and \e grid. The third element in the package (the \l Rectangle) is parented to whichever @@ -73,6 +73,11 @@ QT_BEGIN_NAMESPACE \sa {declarative/modelviews/package}{Package example}, QtDeclarative */ +/*! + \qmlattachedproperty bool Package::name + This attached property holds the name of an item within a Package. +*/ + class QDeclarativePackagePrivate : public QObjectPrivate { |