diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2024-01-15 12:04:16 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2024-01-30 19:41:48 +0200 |
commit | b3441b4127813148a701b7d538453bfdbe2315a4 (patch) | |
tree | bc8dbc215ad51bc21147f1fdefdbecadb56f7d94 /src/corelib/compat | |
parent | 8df46c8890a843a651c86d198540d6318dbaa9a1 (diff) |
QMetaObject: revert adding QMetaObject::indexOfEnumerator(QBAV)
This partially reverts 4ecbe42ff44ace881ed4962744e9cd6c8fa65dab .
The discussion is still ongoing to decide whether the new overload
should take a QBAV or QAnySV. See
https://codereview.qt-project.org/c/qt/qtbase/+/514588 for the details.
For the time being remove the new overload from the API so that this can
be backported to 6.7 (while keeping both dev and 6.7 in sync to ease
future backports).
Pick-to: 6.7
Change-Id: I4a279653d1941faeafd95dde7a8c741009c00c72
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/compat')
-rw-r--r-- | src/corelib/compat/removed_api.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp index 3a49a9b012..109e97daa3 100644 --- a/src/corelib/compat/removed_api.cpp +++ b/src/corelib/compat/removed_api.cpp @@ -859,11 +859,6 @@ void QObject::moveToThread(QThread *targetThread) #include "qobjectdefs.h" -int QMetaObject::indexOfEnumerator(const char *name) const -{ - return indexOfEnumerator(QByteArrayView(name)); -} - bool QMetaObject::invokeMethodImpl(QObject *object, QtPrivate::QSlotObjectBase *slot, Qt::ConnectionType type, void *ret) { return invokeMethodImpl(object, slot, type, 1, &ret, nullptr, nullptr); |