1 | // Copyright (C) 2016 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 QHELP_GLOBAL_H |
5 | #define QHELP_GLOBAL_H |
6 | |
7 | #include <QtCore/qglobal.h> |
8 | #include <QtCore/QString> |
9 | #include <QtCore/QObject> |
10 | |
11 | QT_BEGIN_NAMESPACE |
12 | |
13 | |
14 | #ifdef QT_STATIC |
15 | # define QHELP_EXPORT |
16 | #elif defined(QHELP_LIB) |
17 | # define QHELP_EXPORT Q_DECL_EXPORT |
18 | #else |
19 | # define QHELP_EXPORT Q_DECL_IMPORT |
20 | #endif |
21 | |
22 | class QHELP_EXPORT QHelpGlobal { |
23 | public: |
24 | static QString uniquifyConnectionName(const QString &name, void *pointer); |
25 | static QString documentTitle(const QString &content); |
26 | }; |
27 | |
28 | QT_END_NAMESPACE |
29 | |
30 | #endif // QHELP_GLOBAL_H |
31 | |