QCompressedHelpInfo Class

QCompressedHelpInfoクラスは、圧縮されたヘルプファイルの詳細へのアクセスを提供します。詳細...

ヘッダー #include <QCompressedHelpInfo>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help

パブリック関数

QCompressedHelpInfo()
QCompressedHelpInfo(const QCompressedHelpInfo &other)
QCompressedHelpInfo(QCompressedHelpInfo &&other)
~QCompressedHelpInfo()
QString component() const
bool isNull() const
QString namespaceName() const
void swap(QCompressedHelpInfo &other)
QVersionNumber version() const
QCompressedHelpInfo &operator=(QCompressedHelpInfo &&other)
QCompressedHelpInfo &operator=(const QCompressedHelpInfo &other)

静的パブリックメンバー

QCompressedHelpInfo fromCompressedHelpFile(const QString &documentationFileName)

詳細説明

圧縮ヘルプファイルに関する詳細な情報は、圧縮ヘルプファイルへのパスを指定してfromCompressedHelpFile() 静的メソッドを呼び出すことで取得できます。

このクラスは、圧縮ヘルプファイルに関するさまざまな情報へのアクセスを提供します。指定された圧縮ヘルプファイルに関連付けられた名前空間はnamespaceName()、 関連付けられたコンポーネント名はcomponent()、そしてversion() はバージョン情報を提供します。

QHelpFilterEngineも参照してください

メンバ関数ドキュメント

QCompressedHelpInfo::QCompressedHelpInfo()

圧縮ヘルプファイルに関する空の情報を構築する。

QCompressedHelpInfo::QCompressedHelpInfo(const QCompressedHelpInfo &other)

other のコピーを作成する。

QCompressedHelpInfo::QCompressedHelpInfo(QCompressedHelpInfo &&other)

Move-QCompressedHelpInfoインスタンスを構築し、other が指していたのと同じオブジェクトを指すようにして、other が含んでいた情報を含むようにする。

[noexcept] QCompressedHelpInfo::~QCompressedHelpInfo()

QCompressedHelpInfo を破壊する。

QString QCompressedHelpInfo::component() const

圧縮されたヘルプファイルのコンポーネントを返します。

[static] QCompressedHelpInfo QCompressedHelpInfo::fromCompressedHelpFile(const QString &documentationFileName)

既存の qch ファイルのdocumentationFileNameQCompressedHelpInfo インスタンスを返す。

bool QCompressedHelpInfo::isNull() const

情報が無効な場合はtrue を返し、そうでない場合はfalse を返す。

QString QCompressedHelpInfo::namespaceName() const

圧縮されたヘルプファイルの名前空間名を返します。

[noexcept] void QCompressedHelpInfo::swap(QCompressedHelpInfo &other)

圧縮ヘルプファイルother をこの圧縮ヘルプファイルと入れ替えます。この操作は非常に速く、失敗することはない。

QVersionNumber QCompressedHelpInfo::version() const

圧縮されたヘルプファイルのバージョンを返します。

QCompressedHelpInfo &QCompressedHelpInfo::operator=(QCompressedHelpInfo &&other)

Move-other をこのQCompressedHelpInfo インスタンスに割り当てる。

QCompressedHelpInfo &QCompressedHelpInfo::operator=(const QCompressedHelpInfo &other)

このQHelpCollectionDetailsをother のコピーにします。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.