QHelpEngine Class

The QHelpEngine class provides access to contents and indices of the help engine. 更多...

头文件: #include <QHelpEngine>
qmake: QT += help
开始支持版本: Qt 4.4
基类: QHelpEngineCore

公有函数

QHelpEngine(const QString &collectionFile, QObject *parent = Q_NULLPTR)
~QHelpEngine()
QHelpContentModel *contentModel() const
QHelpContentWidget *contentWidget()
QHelpIndexModel *indexModel() const
QHelpIndexWidget *indexWidget()
QHelpSearchEngine *searchEngine()

其他继承的成员

详细描述

The QHelpEngine class provides access to contents and indices of the help engine.

成员函数

QHelpEngine::QHelpEngine(const QString &collectionFile, QObject *parent = Q_NULLPTR)

Constructs a new help engine with the given parent. The help engine uses the information stored in the collectionFile for providing help. If the collection file does not already exist, it will be created.

QHelpEngine::~QHelpEngine()

Destroys the help engine object.

QHelpContentModel *QHelpEngine::contentModel() const

Returns the content model.

QHelpContentWidget *QHelpEngine::contentWidget()

Returns the content widget.

QHelpIndexModel *QHelpEngine::indexModel() const

Returns the index model.

QHelpIndexWidget *QHelpEngine::indexWidget()

Returns the index widget.

QHelpSearchEngine *QHelpEngine::searchEngine()

Returns the default search engine.