From dca8a799f307d1dea635ad9c011517e9d0d1594a Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Mon, 6 Jul 2009 10:56:59 +1000 Subject: Doc fixes --- doc/src/properties.qdoc | 4 ++-- 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(); -- cgit v0.12