QHelpSearchQuery Class

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

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

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

公共函数

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

详细描述

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.

注意: This class has been deprecated in favor of QString .

另请参阅 QHelpSearchQueryWidget .

成员函数文档编制

QHelpSearchQuery:: QHelpSearchQuery ()

Constructs a new empty QHelpSearchQuery.

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

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