1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef UTILITIES_H
5#define UTILITIES_H
6
7#include <QtCore/qstring.h>
8#include <QtCore/qloggingcategory.h>
9
10QT_BEGIN_NAMESPACE
11
12Q_DECLARE_LOGGING_CATEGORY(lcQdoc)
13Q_DECLARE_LOGGING_CATEGORY(lcQdocClang)
14
15namespace Utilities {
16void startDebugging(const QString &message);
17void stopDebugging(const QString &message);
18bool debugging();
19
20QString separator(qsizetype wordPosition, qsizetype numberOfWords);
21QString comma(qsizetype wordPosition, qsizetype numberOfWords);
22QString asAsciiPrintable(const QString &name);
23QStringList getInternalIncludePaths(const QString &compiler);
24}
25
26QT_END_NAMESPACE
27
28#endif // UTILITIES_H
29

source code of qttools/src/qdoc/qdoc/utilities.h