diff options
Diffstat (limited to 'src/qmltyperegistrar/qqmltyperegistrarutils_p.h')
-rw-r--r-- | src/qmltyperegistrar/qqmltyperegistrarutils_p.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/qmltyperegistrar/qqmltyperegistrarutils_p.h b/src/qmltyperegistrar/qqmltyperegistrarutils_p.h new file mode 100644 index 0000000000..79bd224a7a --- /dev/null +++ b/src/qmltyperegistrar/qqmltyperegistrarutils_p.h @@ -0,0 +1,34 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 + +#ifndef QQMLTYPEREGISTRAR_UTILS_P_H +#define QQMLTYPEREGISTRAR_UTILS_P_H + +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists purely as an +// implementation detail. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + +#include "qmetatypesjsonprocessor_p.h" + +#include <QtCore/qversionnumber.h> + +QT_BEGIN_NAMESPACE + +QTypeRevision handleInMinorVersion(QTypeRevision revision, int majorVersion); +QAnyStringView interfaceName(const Interface &iface); + +QDebug warning(const MetaType &classDef); +QDebug warning(QAnyStringView fileName, int lineNumber = 0); + +QDebug error(QAnyStringView fileName, int lineNumber = 0); + +QT_END_NAMESPACE + +#endif // QQMLTYPEREGISTRAR_UTILS_P_H |