diff options
Diffstat (limited to 'src/corelib/kernel/qmetatype.cpp')
-rw-r--r-- | src/corelib/kernel/qmetatype.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/corelib/kernel/qmetatype.cpp b/src/corelib/kernel/qmetatype.cpp index c373991b68..ba3d788d53 100644 --- a/src/corelib/kernel/qmetatype.cpp +++ b/src/corelib/kernel/qmetatype.cpp @@ -676,7 +676,7 @@ void QMetaType::destruct(void *data) const \note If no less than operator was visible to the metatype declaration, values are unordered even if an equality operator visible to the declaration considers them equal: - \s{compare() == 0} only agrees with equals() if the less than operator was visible. + \c{compare() == 0} only agrees with equals() if the less than operator was visible. \since 6.0 \sa equals(), isOrdered() @@ -997,26 +997,6 @@ bool QMetaType::convert(const void *from, int fromTypeId, void *to, int toTypeId } /*! - bool QMetaType::compare(const void *lhs, const void *rhs, int typeId, int* result) - \deprecated Use the non-static compare method instead - - Compares the objects at \a lhs and \a rhs. Both objects need to be of type \a typeId. - \a result is set to less than, equal to or greater than zero, if \a lhs is less than, equal to - or greater than \a rhs. Returns \c true, if the comparison succeeded, otherwise \c false. - \since 5.2 -*/ - -/*! - bool QMetaType::equals(const void *lhs, const void *rhs, int typeId, int *result) - \deprecated Use the non-static equals method instead - - Compares the objects at \a lhs and \a rhs. Both objects need to be of type \a typeId. - \a result is set to zero, if \a lhs equals to rhs. Returns \c true, if the comparison - succeeded, otherwise \c false. - \since 5.5 -*/ - -/*! Streams the object at \a rhs of type \a typeId to the debug stream \a dbg. Returns \c true on success, otherwise false. \since 5.2 |