Obsolete Members for QHelpEngineCore

The following members of class QHelpEngineCore are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Public Functions

(obsolete) bool addCustomFilter(const QString &filterName, const QStringList &attributes)
(obsolete) QStringList customFilters() const
(obsolete) QList<QUrl> files(const QString namespaceName, const QStringList &filterAttributes, const QString &extensionFilter = QString())
(obsolete) QList<QStringList> filterAttributeSets(const QString &namespaceName) const
(obsolete) QStringList filterAttributes() const
(obsolete) QStringList filterAttributes(const QString &filterName) const
(obsolete) bool removeCustomFilter(const QString &filterName)

Signals

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

Property Documentation

currentFilter : QString

This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

This property holds the name of the custom filter currently applied.

QHelpFilterEngine::activeFilter() should be used instead.

Setting this property will save the new custom filter permanently in the help collection file. To set a custom filter without saving it permanently, disable the auto save filter mode.

This property was introduced in Qt 4.5.

Access functions:

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

See also autoSaveFilter().

Member Function Documentation

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

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

QHelpFilterEngine::filterActivated() should be used instead.

This signal is emitted when the current filter is changed to newFilter.

[signal] void QHelpEngineCore::readersAboutToBeInvalidated()

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

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

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

QHelpFilterEngine::setFilterData() should be used instead.

Adds the new custom filter filterName. The filter attributes are specified by attributes. If the filter already exists, its attribute set is replaced. The function returns true if the operation succeeded, otherwise it returns false.

See also customFilters() and removeCustomFilter().

QStringList QHelpEngineCore::customFilters() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

QHelpFilterEngine::filters() should be used instead.

Returns a list of custom filters.

See also addCustomFilter() and removeCustomFilter().

QList<QUrl> QHelpEngineCore::files(const QString namespaceName, const QStringList &filterAttributes, const QString &extensionFilter = QString())

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

files() should be used instead.

Returns a list of files contained in the Qt compressed help file namespaceName. The files can be filtered by filterAttributes as well as by their extension extensionFilter (e.g. 'html').

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

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

QHelpFilterEngine::filterData() should be used instead.

Returns a list of filter attributes for the different filter sections defined in the Qt compressed help file with the given namespace namespaceName.

QStringList QHelpEngineCore::filterAttributes() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

QHelpFilterEngine::availableComponents() should be used instead.

Returns a list of all defined filter attributes.

QStringList QHelpEngineCore::filterAttributes(const QString &filterName) const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

QHelpFilterEngine::filterData() should be used instead.

Returns a list of filter attributes used by the custom filter filterName.

bool QHelpEngineCore::removeCustomFilter(const QString &filterName)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

QHelpFilterEngine::removeFilter() should be used instead.

Returns true if the filter filterName was removed successfully, otherwise false.

See also addCustomFilter() and customFilters().

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