| 1 | // Copyright (C) 2021 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QTQUICKTEMPLATES2GLOBAL_P_H |
| 5 | #define QTQUICKTEMPLATES2GLOBAL_P_H |
| 6 | |
| 7 | // |
| 8 | // W A R N I N G |
| 9 | // ------------- |
| 10 | // |
| 11 | // This file is not part of the Qt API. It exists purely as an |
| 12 | // implementation detail. This header file may change from version to |
| 13 | // version without notice, or even be removed. |
| 14 | // |
| 15 | // We mean it. |
| 16 | // |
| 17 | |
| 18 | #include <QtCore/qglobal.h> |
| 19 | #include <QtQml/private/qqmlglobal_p.h> |
| 20 | #include <QtQuickTemplates2/private/qtquicktemplates2-config_p.h> |
| 21 | #include <QtQuickTemplates2/qtquicktemplates2exports.h> |
| 22 | |
| 23 | QT_BEGIN_NAMESPACE |
| 24 | |
| 25 | Q_QUICKTEMPLATES2_EXPORT void QQuickTemplates_initializeModule(); |
| 26 | Q_QUICKTEMPLATES2_EXPORT void qml_register_types_QtQuick_Templates(); |
| 27 | |
| 28 | [[maybe_unused]] static inline QString backgroundName() { return QStringLiteral("background" ); } |
| 29 | [[maybe_unused]] static inline QString handleName() { return QStringLiteral("handle" ); } |
| 30 | [[maybe_unused]] static inline QString indicatorName() { return QStringLiteral("indicator" ); } |
| 31 | |
| 32 | QT_END_NAMESPACE |
| 33 | |
| 34 | #endif // QTQUICKTEMPLATES2GLOBAL_P_H |
| 35 | |