以下成員源於類 QHelpSearchQuery 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
enum
|
FieldName { DEFAULT, FUZZY, WITHOUT, PHRASE, ALL, ATLEAST } |
This enum is obsolete. It is provided to keep old source code working. 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 |