diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-08-25 16:04:37 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-08-25 23:17:16 +0200 |
commit | a298775dffb7800b14f74a1b435944b7294728b5 (patch) | |
tree | 0ce7bf5bd585f52177d8981d78304a7c0688a256 /src/qml/qml/qqmlmetatype_p.h | |
parent | 23dd5db4f1f612e962b408c26e9cfd276a5348a3 (diff) |
Remove deprecated functions involving attached property IDs
[ChangeLog][QML] The deprecated functions qmlAttachedPropertiesObjectById
and qmlAttachedPropertiesObject(int *, const QObject *,
const QMetaObject *, bool) have been removed. Use the
qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool)
overload of qmlAttachedPropertiesObject instead.
Change-Id: I6bc8315557733dc2f51b2ffdebeec51873b74b2b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlmetatype_p.h')
-rw-r--r-- | src/qml/qml/qqmlmetatype_p.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qml/qml/qqmlmetatype_p.h b/src/qml/qml/qqmlmetatype_p.h index 564a4adcf2..58968a1c26 100644 --- a/src/qml/qml/qqmlmetatype_p.h +++ b/src/qml/qml/qqmlmetatype_p.h @@ -142,12 +142,6 @@ public: static QObject *toQObject(const QVariant &, bool *ok = nullptr); static int listType(int); -#if QT_DEPRECATED_SINCE(5, 14) - static QT_DEPRECATED int attachedPropertiesFuncId(QQmlEnginePrivate *engine, - const QMetaObject *); - static QT_DEPRECATED QQmlAttachedPropertiesFunc attachedPropertiesFuncById(QQmlEnginePrivate *, - int); -#endif static QQmlAttachedPropertiesFunc attachedPropertiesFunc(QQmlEnginePrivate *, const QMetaObject *); |