The QHelpSearchQuery class contains the field name and the associated search term More...
#include <QHelpSearchQuery>
This class was introduced in Qt 4.4.
enum | FieldName { DEFAULT, FUZZY, WITHOUT, PHRASE, ALL, ATLEAST } |
QHelpSearchQuery () | |
QHelpSearchQuery ( FieldName field, const QStringList & wordList ) |
The QHelpSearchQuery class contains the field name and the associated search term
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.
See also QHelpSearchQueryWidget.
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 | a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine. |
QHelpSearchQuery::WITHOUT | 2 | a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine. |
QHelpSearchQuery::PHRASE | 3 | a field only provided in use with clucene. Terms should not be split in separate words. |
QHelpSearchQuery::ALL | 4 | a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine |
QHelpSearchQuery::ATLEAST | 5 | a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine |
Constructs a new empty QHelpSearchQuery.
Constructs a new QHelpSearchQuery and initializes it with the given field and wordList.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.