The QHelpIndexModel class provides a model that supplies index keywords to views. More...
#include <QHelpIndexModel>
Inherits: QStringListModel.
This class was introduced in Qt 4.4.
void | createIndex ( const QString & customFilterName ) |
QModelIndex | filter ( const QString & filter, const QString & wildcard = QString() ) |
bool | isCreatingIndex () const |
QMap<QString, QUrl> | linksForKeyword ( const QString & keyword ) const |
void | indexCreated () |
void | indexCreationStarted () |
The QHelpIndexModel class provides a model that supplies index keywords to views.
Creates a new index by querying the help system for keywords for the specified customFilterName.
Filters the indices and returns the model index of the best matching keyword. In a first step, only the keywords containing filter are kept in the model's index list. Analogously, if wildcard is not empty, only the keywords matched are left in the index list. In a second step, the best match is determined and its index model returned. When specifying a wildcard expression, the filter string is used to search for the best match.
This signal is emitted when the index has been created.
This signal is emitted when the creation of a new index has started. The current index is invalid from this point on until the signal indexCreated() is emitted.
See also isCreatingIndex().
Returns true if the index is currently built up, otherwise false.
Returns all hits found for the keyword. A hit consists of the URL and the document title.
© 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.