diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-09-08 12:42:58 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-09-13 22:25:21 +0200 |
commit | d577b9e42579ad261801b27d11378c235d0502f8 (patch) | |
tree | 4ea90c3ad04a9a7c61fcb19b4d7d512bd8fe07bf /src/qml/qml/qqmlglobal_p.h | |
parent | 8f1edbf2ec14f306e53047ca089604ab33e2eeee (diff) |
Qml: Drop unused value type provider functions
The only thing we still need is createValueType(). That is by itself
debatable, and it can be static.
Change-Id: Id092f547415c600b7d1db01f78661c287e7f4979
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlglobal_p.h')
-rw-r--r-- | src/qml/qml/qqmlglobal_p.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/qml/qml/qqmlglobal_p.h b/src/qml/qml/qqmlglobal_p.h index 6f43baa82b..0d22cc2de7 100644 --- a/src/qml/qml/qqmlglobal_p.h +++ b/src/qml/qml/qqmlglobal_p.h @@ -182,18 +182,12 @@ inline void QQml_setParent_noEvent(QObject *object, QObject *parent) d_ptr->sendChildEvents = sce; } -class Q_QML_PRIVATE_EXPORT QQmlValueTypeProvider +class QQmlValueTypeProvider { public: - bool initValueType(QMetaType, QVariant &); - bool createValueType(QMetaType, const QJSValue &, QVariant &); - bool equalValueType(QMetaType, const void *, const QVariant &); - bool readValueType(QMetaType, const QVariant &, void *); - bool writeValueType(QMetaType, const void *, QVariant &); + static bool createValueType(QMetaType, const QJSValue &, QVariant &); }; -Q_AUTOTEST_EXPORT QQmlValueTypeProvider *QQml_valueTypeProvider(); - class Q_QML_PRIVATE_EXPORT QQmlColorProvider { public: |