Move QBindingStorage methods marked for removal to removed_api
From the API review. Pick-to: 6.3 Change-Id: I676ff811a3b3d43ebcbee78ed0210d669d642947 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
d1f077a435
commit
221df41572
@ -60,6 +60,17 @@ int QMetaType::id() const
|
||||
|
||||
#endif // QT_CORE_REMOVED_SINCE(6, 1)
|
||||
|
||||
#if QT_CORE_REMOVED_SINCE(6, 2)
|
||||
|
||||
#include "qbindingstorage.h"
|
||||
|
||||
void QBindingStorage::maybeUpdateBindingAndRegister_helper(const QUntypedPropertyData *data) const
|
||||
{
|
||||
registerDependency_helper(data);
|
||||
}
|
||||
|
||||
#endif // QT_CORE_REMOVED_SINCE(6, 2)
|
||||
|
||||
#if QT_CORE_REMOVED_SINCE(6, 3)
|
||||
|
||||
#include "qbytearraymatcher.h"
|
||||
|
@ -94,8 +94,10 @@ public:
|
||||
return nullptr;
|
||||
return bindingData_helper(data);
|
||||
}
|
||||
// ### Qt 7: remove unused BIC shim
|
||||
|
||||
#if QT_CORE_REMOVED_SINCE(6, 2)
|
||||
void maybeUpdateBindingAndRegister(const QUntypedPropertyData *data) const { registerDependency(data); }
|
||||
#endif
|
||||
|
||||
QtPrivate::QPropertyBindingData *bindingData(QUntypedPropertyData *data, bool create)
|
||||
{
|
||||
@ -106,8 +108,10 @@ public:
|
||||
private:
|
||||
void clear();
|
||||
void registerDependency_helper(const QUntypedPropertyData *data) const;
|
||||
#if QT_CORE_REMOVED_SINCE(6, 2)
|
||||
// ### Unused, but keep for BC
|
||||
void maybeUpdateBindingAndRegister_helper(const QUntypedPropertyData *data) const;
|
||||
#endif
|
||||
QtPrivate::QPropertyBindingData *bindingData_helper(const QUntypedPropertyData *data) const;
|
||||
QtPrivate::QPropertyBindingData *bindingData_helper(QUntypedPropertyData *data, bool create);
|
||||
};
|
||||
|
@ -2207,12 +2207,6 @@ void QBindingStorage::clear()
|
||||
d = nullptr;
|
||||
}
|
||||
|
||||
// ### Unused, retained for BC with 6.0
|
||||
void QBindingStorage::maybeUpdateBindingAndRegister_helper(const QUntypedPropertyData *data) const
|
||||
{
|
||||
registerDependency_helper(data);
|
||||
}
|
||||
|
||||
void QBindingStorage::registerDependency_helper(const QUntypedPropertyData *data) const
|
||||
{
|
||||
Q_ASSERT(bindingStatus);
|
||||
|
Loading…
Reference in New Issue
Block a user