Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcompressedhelpinfo.h
Go to the documentation of this file.
1// Copyright (C) 2019 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// Qt-Security score:significant reason:default
4
5#ifndef QCOMPRESSEDHELPINFO_H
6#define QCOMPRESSEDHELPINFO_H
7
8#include <QtHelp/qhelp_global.h>
9
10#include <QtCore/qshareddata.h>
11
12QT_BEGIN_NAMESPACE
13
14class QCompressedHelpInfoPrivate;
15class QVersionNumber;
16
17class QHELP_EXPORT QCompressedHelpInfo final
18{
19public:
20 QCompressedHelpInfo();
21 QCompressedHelpInfo(const QCompressedHelpInfo &other);
22 QCompressedHelpInfo(QCompressedHelpInfo &&other);
23 ~QCompressedHelpInfo();
24
25 QCompressedHelpInfo &operator=(const QCompressedHelpInfo &other);
26 QCompressedHelpInfo &operator=(QCompressedHelpInfo &&other);
27
28 void swap(QCompressedHelpInfo &other) Q_DECL_NOTHROW
29 { d.swap(other.d); }
30
31 QString namespaceName() const;
32 QString component() const;
33 QVersionNumber version() const;
34 bool isNull() const;
35
36 static QCompressedHelpInfo fromCompressedHelpFile(const QString &documentationFileName);
37
38private:
39 QSharedDataPointer<QCompressedHelpInfoPrivate> d;
40};
41
42QT_END_NAMESPACE
43
44#endif // QCOMPRESSEDHELPINFO_H
QCompressedHelpInfoPrivate(const QCompressedHelpInfoPrivate &other)
QCompressedHelpInfoPrivate()=default
\inmodule QtCore
Combined button and popup list for selecting options.