Obsolete Members for QHelpSearchEngine

以下成员源于类 QHelpSearchEngine 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共类型

(弃用) SearchHit

公共函数

(弃用) int hitCount () const
(弃用) QList<QHelpSearchEngine::SearchHit> hits (int start , int end ) const
(弃用) int hitsCount () const
(弃用) QList<QHelpSearchQuery> query () const

公共槽

(弃用) void search (const QList<QHelpSearchQuery> & queryList )

成员类型文档编制

QHelpSearchEngine:: SearchHit

This typedef is deprecated. We strongly advise against using it in new code.

使用 QHelpSearchResult 代替。

Typedef for QPair< QString , QString >. The values of that pair are the documentation file path and the page title.

另请参阅 hits ().

成员函数文档编制

int QHelpSearchEngine:: hitCount () const

This function is deprecated. We strongly advise against using it in new code.

使用 searchResultCount () 代替。

QList < QHelpSearchEngine::SearchHit > QHelpSearchEngine:: hits ( int start , int end ) const

This function is deprecated. We strongly advise against using it in new code.

使用 searchResults () 代替。

int QHelpSearchEngine:: hitsCount () const

This function is deprecated. We strongly advise against using it in new code.

使用 searchResultCount () 代替。

QList < QHelpSearchQuery > QHelpSearchEngine:: query () const

This function is deprecated. We strongly advise against using it in new code.

使用 searchInput () 代替。

This function is deprecated. We strongly advise against using it in new code.

Use search(const QString & searchInput ) 代替。