From 92d4d490fe808479e3fe8885e5e5cabd20f3d03f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 19 Aug 2020 14:54:51 +0200 Subject: 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 --- src/corelib/kernel/qmetaobject.cpp | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) (limited to 'src/corelib/kernel/qmetaobject.cpp') diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index 6cb43cea72..09297e4c2e 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() */ -- cgit v1.2.3