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
9QT_BEGIN_NAMESPACE
10
11class QString;
12
13#ifdef QT_STATIC
14# define QHELP_EXPORT
15#elif defined(QHELP_LIB)
16# define QHELP_EXPORT Q_DECL_EXPORT
17#else
18# define QHELP_EXPORT Q_DECL_IMPORT
19#endif
20
21// TODO Qt 7.0: Remove the class and make it a namespace with a collection of functions.
22// Review, if they are still need to be public.
23class QHELP_EXPORT QHelpGlobal
24{
25public:
26 static QString uniquifyConnectionName(const QString &name, void *pointer);
27 static QString documentTitle(const QString &content);
28};
29
30QT_END_NAMESPACE
31
32#endif // QHELP_GLOBAL_H
33

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qttools/src/assistant/help/qhelp_global.h