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 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | Q_DECLARE_LOGGING_CATEGORY(lcQdoc) |
13 | Q_DECLARE_LOGGING_CATEGORY(lcQdocClang) |
14 | |
15 | namespace Utilities { |
16 | void startDebugging(const QString &message); |
17 | void stopDebugging(const QString &message); |
18 | bool debugging(); |
19 | |
20 | QString separator(qsizetype wordPosition, qsizetype numberOfWords); |
21 | QString comma(qsizetype wordPosition, qsizetype numberOfWords); |
22 | QString asAsciiPrintable(const QString &name); |
23 | QStringList getInternalIncludePaths(const QString &compiler); |
24 | } |
25 | |
26 | QT_END_NAMESPACE |
27 | |
28 | #endif // UTILITIES_H |
29 |