QHelpSearchQuery Class

The QHelpSearchQuery class contains the field name and the associated search term. More...

Header: #include <QHelpSearchQuery>
CMake: find_package(Qt6 COMPONENTS Help REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help

This class is deprecated. We strongly advise against using it in new code.

Public Functions

QHelpSearchQuery(QHelpSearchQuery::FieldName field, const QStringList &wordList)
QHelpSearchQuery()

Detailed Description

The QHelpSearchQuery class contains the field name and the associated search term. Depending on the field the search term might get split up into separate terms to be parsed differently by the search engine.

Note: This class has been deprecated in favor of QString.

See also QHelpSearchQueryWidget.

Member Function Documentation

QHelpSearchQuery::QHelpSearchQuery(QHelpSearchQuery::FieldName field, const QStringList &wordList)

Constructs a new QHelpSearchQuery and initializes it with the given field and wordList.

QHelpSearchQuery::QHelpSearchQuery()

Constructs a new empty QHelpSearchQuery.