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
4#ifndef QCOMPRESSEDHELPINFO_H
5#define QCOMPRESSEDHELPINFO_H
6
7#include <QtHelp/qhelp_global.h>
8
9#include <QtCore/qshareddata.h>
10
11QT_BEGIN_NAMESPACE
12
13class QCompressedHelpInfoPrivate;
14class QVersionNumber;
15
16class QHELP_EXPORT QCompressedHelpInfo final
17{
18public:
19 QCompressedHelpInfo();
20 QCompressedHelpInfo(const QCompressedHelpInfo &other);
21 QCompressedHelpInfo(QCompressedHelpInfo &&other);
22 ~QCompressedHelpInfo();
23
24 QCompressedHelpInfo &operator=(const QCompressedHelpInfo &other);
25 QCompressedHelpInfo &operator=(QCompressedHelpInfo &&other);
26
27 void swap(QCompressedHelpInfo &other) Q_DECL_NOTHROW
28 { d.swap(other.d); }
29
30 QString namespaceName() const;
31 QString component() const;
32 QVersionNumber version() const;
33 bool isNull() const;
34
35 static QCompressedHelpInfo fromCompressedHelpFile(const QString &documentationFileName);
36
37private:
38 QSharedDataPointer<QCompressedHelpInfoPrivate> d;
39};
40
41QT_END_NAMESPACE
42
43#endif // QCOMPRESSEDHELPINFO_H
QCompressedHelpInfoPrivate(const QCompressedHelpInfoPrivate &other)
QCompressedHelpInfoPrivate()=default
\inmodule QtCore
Combined button and popup list for selecting options.