diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-11-23 08:51:37 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2024-01-11 23:03:19 +0100 |
commit | 5c5a2c24847c636857153078e4716fcb242f394d (patch) | |
tree | dad8c92017310f7acf41c46f4ace9d6928ce8312 /src/qml/qml/qqmlglobal_p.h | |
parent | 26096b2a323c6e561766e15b62b810dc654ad317 (diff) |
Remove the use of Q_QML_PRIVATE_EXPORT
Task-number: QTBUG-117983
Change-Id: I5790f01d614cd70c7fcc9bd817ec6ace3f3e3730
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlglobal_p.h')
-rw-r--r-- | src/qml/qml/qqmlglobal_p.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/qml/qml/qqmlglobal_p.h b/src/qml/qml/qqmlglobal_p.h index b6dd2182d3..98fe2e6a79 100644 --- a/src/qml/qml/qqmlglobal_p.h +++ b/src/qml/qml/qqmlglobal_p.h @@ -123,8 +123,8 @@ do { \ QMetaObject::disconnect(sender, signalIdx, receiver, methodIdx); \ } while (0) -Q_QML_PRIVATE_EXPORT bool qmlobject_can_cpp_cast(QObject *object, const QMetaObject *mo); -Q_QML_PRIVATE_EXPORT bool qmlobject_can_qml_cast(QObject *object, const QQmlType &type); +Q_QML_EXPORT bool qmlobject_can_cpp_cast(QObject *object, const QMetaObject *mo); +Q_QML_EXPORT bool qmlobject_can_qml_cast(QObject *object, const QQmlType &type); /*! This method is identical to qobject_cast<T>() except that it does not require lazy @@ -211,7 +211,7 @@ public: static bool populateValueType( QMetaType targetMetaType, void *target, QMetaType sourceMetaType, void *source); - static Q_QML_PRIVATE_EXPORT void *heapCreateValueType( + static Q_QML_EXPORT void *heapCreateValueType( const QQmlType &targetType, const QV4::Value &source); static QVariant constructValueType( QMetaType targetMetaType, const QMetaObject *targetMetaObject, @@ -223,7 +223,7 @@ public: static QVariant createValueType(const QVariant &, QMetaType); }; -class Q_QML_PRIVATE_EXPORT QQmlColorProvider +class Q_QML_EXPORT QQmlColorProvider { public: virtual ~QQmlColorProvider(); @@ -239,11 +239,11 @@ public: virtual QVariant tint(const QVariant &, const QVariant &); }; -Q_QML_PRIVATE_EXPORT QQmlColorProvider *QQml_setColorProvider(QQmlColorProvider *); -Q_QML_PRIVATE_EXPORT QQmlColorProvider *QQml_colorProvider(); +Q_QML_EXPORT QQmlColorProvider *QQml_setColorProvider(QQmlColorProvider *); +Q_QML_EXPORT QQmlColorProvider *QQml_colorProvider(); class QQmlApplication; -class Q_QML_PRIVATE_EXPORT QQmlGuiProvider +class Q_QML_EXPORT QQmlGuiProvider { public: virtual ~QQmlGuiProvider(); @@ -255,12 +255,12 @@ public: virtual QString pluginName() const; }; -Q_QML_PRIVATE_EXPORT QQmlGuiProvider *QQml_setGuiProvider(QQmlGuiProvider *); +Q_QML_EXPORT QQmlGuiProvider *QQml_setGuiProvider(QQmlGuiProvider *); Q_AUTOTEST_EXPORT QQmlGuiProvider *QQml_guiProvider(); class QQmlApplicationPrivate; -class Q_QML_PRIVATE_EXPORT QQmlApplication : public QObject +class Q_QML_EXPORT QQmlApplication : public QObject { //Application level logic, subclassed by Qt Quick if available via QQmlGuiProvider Q_OBJECT |