aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltyperegistrar/qqmltyperegistrarutils_p.h
blob: 79bd224a7a0fbd5bac8a84cf67ee3540b9c93e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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