Obsolete Members for QHelpEngineCore

QHelpEngineCore クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるように提供されているものです。新しいコードでの使用は強く推奨しません。

プロパティ

パブリック関数

(deprecated) bool addCustomFilter(const QString &filterName, const QStringList &attributes)
(deprecated) QString currentFilter() const
(deprecated) QStringList customFilters() const
(deprecated) QList<QUrl> files(const QString namespaceName, const QStringList &filterAttributes, const QString &extensionFilter = {})
(deprecated) QList<QStringList> filterAttributeSets(const QString &namespaceName) const
(deprecated) QStringList filterAttributes() const
(deprecated) QStringList filterAttributes(const QString &filterName) const
(deprecated) bool removeCustomFilter(const QString &filterName)
(deprecated) void setCurrentFilter(const QString &filterName)

シグナル

(deprecated) void currentFilterChanged(const QString &newFilter)
(deprecated) void readersAboutToBeInvalidated()

プロパティのドキュメント

[deprecated] currentFilter : QString

この列挙型は非推奨です。新しいコードでの使用は強く推奨しません。

このプロパティには、現在適用されているカスタムフィルターの名前が格納されます。

QHelpFilterEngine::activeFilter代わりに () を使用してください。

このプロパティを設定すると、新しいカスタムフィルターがヘルプコレクションファイルに永続的に保存されます。カスタムフィルターを永続的に保存せずに設定するには、フィルターの自動保存モードを無効にしてください。

アクセス関数:

QString currentFilter() const
void setCurrentFilter(const QString &filterName)

関連項目: autoSaveFilter()。

メンバ関数のドキュメント

[deprecated] bool QHelpEngineCore::addCustomFilter(const QString &filterName, const QStringList &attributes)

この関数は非推奨です。新しいコードでの使用は強くお勧めしません。

QHelpFilterEngine::setFilterData代わりに () を使用してください。

新しいカスタムフィルタ `filterName` を追加します。フィルタの属性は `attributes` で指定されます。フィルタがすでに存在する場合、その属性セットは上書きされます。この関数は、操作が成功した場合は `true` を返し、失敗した場合は `false` を返します。

customFilters() およびremoveCustomFilter()も参照してください 。

[signal, deprecated] void QHelpEngineCore::currentFilterChanged(const QString &newFilter)

この関数は非推奨です。新しいコードでの使用は強くお勧めしません。

QHelpFilterEngine::filterActivated代わりに () を使用してください。

このシグナルは、現在のフィルタが `newFilter` に変更されたときに発火します。

[deprecated] QStringList QHelpEngineCore::customFilters() const

この関数は非推奨となっています。新しいコードでの使用は強く推奨しません。

QHelpFilterEngine::filters代わりに () を使用してください。

カスタムフィルタのリストを返します。

addCustomFilter() およびremoveCustomFilter()も参照してください 。

[deprecated] QList<QUrl> QHelpEngineCore::files(const QString namespaceName, const QStringList &filterAttributes, const QString &extensionFilter = {})

この関数は非推奨です。新しいコードでの使用は強くお勧めしません。

代わりに files() を使用してください。

Qtの圧縮ヘルプファイル `namespaceName` に含まれるファイルのリストを返します。ファイルは、filterAttributes および拡張子extensionFilter (例: 'html') によってフィルタリングできます。

[deprecated] QList<QStringList> QHelpEngineCore::filterAttributeSets(const QString &namespaceName) const

この関数は非推奨です。新しいコードでの使用は強く推奨しません。

QHelpFilterEngine::filterData代わりに () を使用してください。

指定された名前空間namespaceName を持つ Qt 圧縮ヘルプファイル内で定義された、さまざまなフィルタセクションのフィルタ属性のリストを返します。

[deprecated] QStringList QHelpEngineCore::filterAttributes() const

この関数は非推奨です。新しいコードでの使用は強くお勧めしません。

QHelpFilterEngine::availableComponents代わりに () を使用してください。

定義されているすべてのフィルタ属性のリストを返します。

[deprecated] QStringList QHelpEngineCore::filterAttributes(const QString &filterName) const

この関数は非推奨です。新しいコードでの使用は強くお勧めしません。

QHelpFilterEngine::filterData代わりに () を使用してください。

カスタムフィルター `filterName` で使用されるフィルター属性のリストを返します。

[signal, deprecated] void QHelpEngineCore::readersAboutToBeInvalidated()

この関数は非推奨となっています。新しいコードでの使用は強くお勧めしません。

[deprecated] bool QHelpEngineCore::removeCustomFilter(const QString &filterName)

この関数は非推奨です。新しいコードでの使用は強く推奨しません。

QHelpFilterEngine::removeFilter代わりに () を使用してください。

フィルタ `filterName ` の削除に成功した場合は `true` を返し、失敗した場合は `false` を返します。

addCustomFilter() およびcustomFilters()も参照してください 。

© 2026 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.