Home · All Classes · Modules

QHelpSearchQuery Class Reference
[QtHelp module]

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

Types

Methods


Detailed Description

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 seperate terms to be parsed differently by the search engine.

See also QHelpSearchQueryWidget.


Type Documentation

QHelpSearchQuery.FieldName

This enum type specifies the field names that are handled by the search engine.

ConstantValueDescription
QHelpSearchQuery.DEFAULT0the 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.FUZZY1a field only provided in use with clucene. Terms should be split in seperate words and passed to the search engine.
QHelpSearchQuery.WITHOUT2a field only provided in use with clucene. Terms should be split in seperate words and passed to the search engine.
QHelpSearchQuery.PHRASE3a field only provided in use with clucene. Terms should not be split in seperate words.
QHelpSearchQuery.ALL4a field only provided in use with clucene. Terms should be split in seperate words and passed to the search engine
QHelpSearchQuery.ATLEAST5a field only provided in use with clucene. Terms should be split in seperate words and passed to the search engine


Method Documentation

QHelpSearchQuery.__init__ (self)

Constructs a new empty QHelpSearchQuery.

QHelpSearchQuery.__init__ (self, FieldName, QStringList)

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

QHelpSearchQuery.__init__ (self, QHelpSearchQuery)


PyQt 4.7.3 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.6.2