以下成员源于类 QHelpSearchQuery 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated)
enum
|
FieldName { DEFAULT, FUZZY, WITHOUT, PHRASE, ALL, ATLEAST } |
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.
常量 | 值 | 描述 |
---|---|---|
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 |