Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmldom_utils_p.h
Go to the documentation of this file.
1// Copyright (C) 2023 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 QQMLDOM_UTILS_P_H
5#define QQMLDOM_UTILS_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 "qqmldom_fwd_p.h"
20#include "qqmldomconstants_p.h"
21#include <QtQml/private/qqmljssourcelocation_p.h>
22#include <QtCore/qstringlist.h>
23#include <QtCore/qloggingcategory.h>
24#include <QtCore/qcborvalue.h>
25
27
28Q_DECLARE_LOGGING_CATEGORY(QQmlJSDomImporting);
29
30template<class... Ts>
31struct qOverloadedVisitor : Ts...
32{
33 using Ts::operator()...;
34};
35template<class... Ts>
37
38namespace QQmlJS {
39namespace Dom {
40
42
45
46QCborValue sourceLocationToQCborValue(SourceLocation loc);
47
48} // namespace Dom
49}; // namespace QQmlJS
50
52
53#endif // QQMLDOM_UTILS_P_H
\inmodule QtCore\reentrant
Definition qcborvalue.h:47
\inmodule QtCore
\inmodule QtCore
Definition qstringview.h:78
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
QStringList resourceFilesFromBuildFolders(const QStringList &buildFolders)
QString fileLocationRegionName(FileLocationRegion region)
FileLocationRegion fileLocationRegionValue(QStringView region)
QCborValue sourceLocationToQCborValue(QQmlJS::SourceLocation loc)
Combined button and popup list for selecting options.
#define Q_DECLARE_LOGGING_CATEGORY(name)
qOverloadedVisitor(Ts...) -> qOverloadedVisitor< Ts... >