diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-07-06 00:56:59 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-07-06 00:56:59 (GMT) |
commit | dca8a799f307d1dea635ad9c011517e9d0d1594a (patch) | |
tree | 8407f342ba450dcb3bb1623e4fa6a903d63c65c2 | |
parent | 26fab96a7827cf7ac250fb434715840195258608 (diff) | |
download | Qt-dca8a799f307d1dea635ad9c011517e9d0d1594a.zip Qt-dca8a799f307d1dea635ad9c011517e9d0d1594a.tar.gz Qt-dca8a799f307d1dea635ad9c011517e9d0d1594a.tar.bz2 |
Doc fixes
-rw-r--r-- | doc/src/properties.qdoc | 4 | ||||
-rw-r--r-- | src/declarative/fx/qfxvisualitemmodel.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/properties.qdoc b/doc/src/properties.qdoc index cac5016..1aa41a9 100644 --- a/doc/src/properties.qdoc +++ b/doc/src/properties.qdoc @@ -123,10 +123,10 @@ gets and sets a widget's \c USER property. \o The presence of the \c CONSTANT attibute indicates that the property - value is constant. For a given object instance, the READ method of a + value is constant. For a given object instance, the \c READ method of a constant property must return the same value every time it is called. This constant value may be different for different instances of the object. A - constant property cannot have a WRTE method or a NOTIFY signal. + constant property cannot have a \c WRITE method or a \c NOTIFY signal. \endlist diff --git a/src/declarative/fx/qfxvisualitemmodel.h b/src/declarative/fx/qfxvisualitemmodel.h index 9cacde4..551c08d 100644 --- a/src/declarative/fx/qfxvisualitemmodel.h +++ b/src/declarative/fx/qfxvisualitemmodel.h @@ -70,7 +70,7 @@ class Q_DECLARATIVE_EXPORT QFxVisualItemModel : public QObject Q_PROPERTY(QVariant model READ model WRITE setModel) Q_PROPERTY(QmlComponent *delegate READ delegate WRITE setDelegate) Q_PROPERTY(QString part READ part WRITE setPart) - Q_PROPERTY(QObject *parts READ parts) + Q_PROPERTY(QObject *parts READ parts CONSTANT) Q_CLASSINFO("DefaultProperty", "delegate") public: QFxVisualItemModel(); |