summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetatype.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-21 11:27:58 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-24 10:02:27 +0200
commit61a50b2b9b5bca5482e3ce981f4ed6d031a6255a (patch)
treec9a8ba3f505bd6d91f83bc66b8589064849c5dfc /src/corelib/kernel/qmetatype.cpp
parent27fcf66319605ed29d35de4034a41f05e8ba0a3b (diff)
Fix a number of qdoc warnings related to deprecation
Remove obsolete documentation. Change-Id: Iaf4b6f9852a883dea0f256c5c89e74f6ebbe85f3 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetatype.cpp')
-rw-r--r--src/corelib/kernel/qmetatype.cpp22
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