aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates/qtquicktemplates2global_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates/qtquicktemplates2global_p.h')
-rw-r--r--src/quicktemplates/qtquicktemplates2global_p.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/quicktemplates/qtquicktemplates2global_p.h b/src/quicktemplates/qtquicktemplates2global_p.h
index bca84663c6..27b5947994 100644
--- a/src/quicktemplates/qtquicktemplates2global_p.h
+++ b/src/quicktemplates/qtquicktemplates2global_p.h
@@ -18,12 +18,16 @@
#include <QtCore/qglobal.h>
#include <QtQml/private/qqmlglobal_p.h>
#include <QtQuickTemplates2/private/qtquicktemplates2-config_p.h>
-#include <QtQuickTemplates2/private/qtquicktemplates2exports_p.h>
+#include <QtQuickTemplates2/qtquicktemplates2exports.h>
QT_BEGIN_NAMESPACE
-Q_QUICKTEMPLATES2_PRIVATE_EXPORT void QQuickTemplates_initializeModule();
-Q_QUICKTEMPLATES2_PRIVATE_EXPORT void qml_register_types_QtQuick_Templates();
+Q_QUICKTEMPLATES2_EXPORT void QQuickTemplates_initializeModule();
+Q_QUICKTEMPLATES2_EXPORT void qml_register_types_QtQuick_Templates();
+
+[[maybe_unused]] static inline QString backgroundName() { return QStringLiteral("background"); }
+[[maybe_unused]] static inline QString handleName() { return QStringLiteral("handle"); }
+[[maybe_unused]] static inline QString indicatorName() { return QStringLiteral("indicator"); }
QT_END_NAMESPACE