Obsolete Members for QHelpEngineCore
クラスQHelpEngineCore の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
プロパティ
(deprecated)
currentFilter : QString
パブリック機能
(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()も参照 。
© 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.