QHelpFilterData Class▲
-
Header: QHelpFilterData
-
Since: Qt 5.13
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
-
qmake: QT += help
Detailed Description▲
By using setComponents() you may constrain the search results to documents that belong only to components specified on the given list. By using setVersions() you may constrain the search results to documents that belong only to versions specified on the given list.
See Also▲
See also QHelpFilterEngine
Member Function Documentation▲
QHelpFilterData::QHelpFilterData()▲
Constructs the empty filter.
QHelpFilterData::QHelpFilterData(const QHelpFilterData &other)▲
Constructs a copy of other.
QHelpFilterData::QHelpFilterData(QHelpFilterData &&other)▲
Move-constructs a QHelpFilterData instance, making it point at the same object that other was pointing to.
QHelpFilterData::~QHelpFilterData()▲
Destroys the filter.
QStringList QHelpFilterData::components() const▲
Returns the component list that is used for filtering the search results.
See Also▲
See also setComponents()
void QHelpFilterData::setComponents(const QStringList &components)▲
Specifies the component list that is used for filtering the search results. Only results from components in the list components shall be returned.
See Also▲
See also components()
void QHelpFilterData::setVersions(const QList<QVersionNumber> &versions)▲
Specifies the version list that is used for filtering the search results. Only results from versions in the list versions shall be returned.
See Also▲
See also versions()
void QHelpFilterData::swap(QHelpFilterData &other)▲
Swaps the filter other with this filter. This operation is very fast and never fails.
QList<QVersionNumber> QHelpFilterData::versions() const▲
Returns the version list that is used for filtering the search results.
See Also▲
See also setVersions()
QHelpFilterData &QHelpFilterData::operator=(const QHelpFilterData &other)▲
Assigns other to this filter and returns a reference to this filter.
QHelpFilterData &QHelpFilterData::operator=(QHelpFilterData &&other)▲
Move-assigns other to this QHelpFilterData instance.