diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-08-19 14:54:51 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-08-20 07:51:05 +0200 |
| commit | 92d4d490fe808479e3fe8885e5e5cabd20f3d03f (patch) | |
| tree | bed5c974344f0baac00265c48f4d674ad185e557 /src/corelib/kernel/qmetaobject.cpp | |
| parent | 1f1f0003274e446fc49e61255749f83c5826cd0b (diff) | |
Fix a number of qdoc warnings
- Remove obsolete functions and enumeration values
- Remove QObject * parameter from QMetaProperty accessors
- Fix renamed enumerations in QSsl
- Fix list items to be \li
- Fix function signatures and variable names
Change-Id: I37c7e6bf2c8ff92bc7b82620bae0a27796f866ab
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
| -rw-r--r-- | src/corelib/kernel/qmetaobject.cpp | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index 6cb43cea727..09297e4c2e3 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -3389,12 +3389,8 @@ bool QMetaProperty::isWritable() const /*! - Returns \c true if this property is designable; - otherwise returns \c false. - - If no \a object is given, the function returns \c false if the - \c{Q_PROPERTY()}'s \c DESIGNABLE attribute is false; otherwise - returns \c true. + Returns \c false if the \c{Q_PROPERTY()}'s \c DESIGNABLE attribute + is false; otherwise returns \c true. \sa isScriptable(), isStored() */ @@ -3406,12 +3402,8 @@ bool QMetaProperty::isDesignable() const } /*! - Returns \c true if the property is scriptable; - otherwise returns \c false. - - If no \a object is given, the function returns \c false if the - \c{Q_PROPERTY()}'s \c SCRIPTABLE attribute is false; otherwise returns - true. + Returns \c false if the \c{Q_PROPERTY()}'s \c SCRIPTABLE attribute + is false; otherwise returns true. \sa isDesignable(), isStored() */ @@ -3440,15 +3432,10 @@ bool QMetaProperty::isStored() const } /*! - Returns \c true if this property is designated as the \c USER - property, i.e., the one that the user can edit or - that is significant in some other way. Otherwise it returns - false. e.g., the \c text property is the \c USER editable property - of a QLineEdit. - - If \a object is \nullptr, the function returns \c false if the \c - {Q_PROPERTY()}'s \c USER attribute is false. Otherwise it returns - true. + Returns \c false if the \c {Q_PROPERTY()}'s \c USER attribute is false. + Otherwise it returns true, indicating the property is designated as the + \c USER property, i.e., the one that the user can edit or + that is significant in some other way. \sa QMetaObject::userProperty(), isDesignable(), isScriptable() */ |
