QHelpSearchQuery Class▲
-
Header: 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.
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.
This class has been deprecated in favor of QString.
See Also▲
See also QHelpSearchQueryWidget
Member Function Documentation▲
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.
Obsolete Members for QHelpSearchQuery▲
The following members of class QHelpSearchQuery are deprecated. We strongly advise against using them in new code.
Obsolete Member Type Documentation▲
enum QHelpSearchQuery::FieldName▲
This enum is deprecated. We strongly advise against using it in new code.
This enum type specifies the field names that are handled by the search engine.
Constant |
Value |
Description |
---|---|---|
QHelpSearchQuery::DEFAULT |
0 |
the default field provided by the search widget, several terms should be split and stored in the word list except search terms enclosed in quotes. |
QHelpSearchQuery::FUZZY |
1 |
Terms should be split in separate words and passed to the search engine. |
QHelpSearchQuery::WITHOUT |
2 |
Terms should be split in separate words and passed to the search engine. |
QHelpSearchQuery::PHRASE |
3 |
Terms should not be split in separate words. |
QHelpSearchQuery::ALL |
4 |
Terms should be split in separate words and passed to the search engine |
QHelpSearchQuery::ATLEAST |
5 |
Terms should be split in separate words and passed to the search engine |