Doc: Remove stale documentation in "qproperty.cpp"
"src/corelib/kernel/qproperty.cpp" documents assignment operators over `QPropertyBinding` for `QProperty` and `QPropertyAlias`. Those operators were removed in638df6138e
and are thus stale. Similarly, an assignment operator for `QPropertyAlias<T>` over a `T&&` is documented albeit it was removed in927647cd03
. Due an incorrect implementation of QDoc, which has now been removed, with regards to identifying copy/move assignment operators, and the more superficial and incorrect way in which QDoc binds those kind of elements to the clang AST, QDoc was unable to report the lack of a binding declaration for those elements that were removed, producing incorrect documentation instead. As of the latest changes to QDoc this will correctly generate a warning. To avoid the addition of new warnings and remove stale and incorrect documentation, the document blocks were removed from the file. Change-Id: I30e20f26d4c44e4589abf40546d8ebaa4e869638 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
98a3634299
commit
9d705d90d0
@ -1325,15 +1325,6 @@ QString QPropertyBindingError::description() const
|
||||
Assigns \a newValue to this property and returns a reference to this QProperty.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn template <typename T> QProperty<T> &QProperty<T>::operator=(const QPropertyBinding<T> &newBinding)
|
||||
|
||||
Associates the value of this property with the provided \a newBinding
|
||||
expression and returns a reference to this property. The property's value is
|
||||
set to the result of evaluating the new binding. Whenever a dependency of the
|
||||
binding changes, the binding will be re-evaluated.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn template <typename T> QPropertyBinding<T> QProperty<T>::setBinding(const QPropertyBinding<T> &newBinding)
|
||||
|
||||
@ -1998,26 +1989,6 @@ QString QPropertyBindingError::description() const
|
||||
QPropertyAlias.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn template <typename T> QPropertyAlias<T> &QPropertyAlias<T>::operator=(T &&newValue)
|
||||
\overload
|
||||
|
||||
Assigns \a newValue to the aliased property and returns a reference to this
|
||||
QPropertyAlias.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn template <typename T> QPropertyAlias<T> &QPropertyAlias<T>::operator=(const QPropertyBinding<T> &newBinding)
|
||||
\overload
|
||||
|
||||
Associates the value of the aliased property with the provided \a newBinding
|
||||
expression and returns a reference to this alias. The property's value is set
|
||||
to the result of evaluating the new binding. Whenever a dependency of the
|
||||
binding changes, the binding will be re-evaluated, and the property's value
|
||||
gets updated accordingly.
|
||||
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn template <typename T> QPropertyBinding<T> QPropertyAlias<T>::setBinding(const QPropertyBinding<T> &newBinding)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user