Obsolete Members for QHelpSearchEngine

The following members of class QHelpSearchEngine are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Types

(deprecated) SearchHit

Public Functions

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

Public Slots

(deprecated) void search(const QList<QHelpSearchQuery> &queryList)

Member Type Documentation

QHelpSearchEngine::SearchHit

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

Use QHelpSearchResult instead.

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

See also hits().

Member Function Documentation

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

Use search(const QString &searchInput) instead.

int QHelpSearchEngine::hitCount() const

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

Use searchResultCount() instead.

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

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

Use searchResults() instead.

int QHelpSearchEngine::hitsCount() const

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

Use searchResultCount() instead.

QList<QHelpSearchQuery> QHelpSearchEngine::query() const

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

Use searchInput() instead.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.