Obsolete Members for QHelpSearchEngine

Los siguientes miembros de la clase ` QHelpSearchEngine ` están obsoletos. Se mantienen para que el código fuente antiguo siga funcionando. Recomendamos encarecidamente no utilizarlos en código nuevo.

Tipos públicos

(deprecated) SearchHit

Funciones públicas

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

Ranuras públicas

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

Documentación de los tipos de miembro

[deprecated] QHelpSearchEngine::SearchHit

Este `typedef` está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.

Utiliza en su lugar QHelpSearchResult.

Definición de tipo para QPair<QString, QString>. Los valores de ese par son la ruta del archivo de documentación y el título de la página.

Véase también hits().

Documentación de las funciones de miembro

[deprecated] int QHelpSearchEngine::hitCount() const

Esta función está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza en su lugar searchResultCount().

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

Esta función está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza en su lugar searchResults().

[deprecated] int QHelpSearchEngine::hitsCount() const

Esta función está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza en su lugar searchResultCount().

[deprecated] QList<QHelpSearchQuery> QHelpSearchEngine::query() const

Esta función está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza en su lugar searchInput().

Esta función está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Utiliza en su lugar search(const QString &searchInput).

Nota: Esta ranura está sobrecargada. Para conectarse a esta ranura:

// Connect using qOverload:
connect(sender, &SenderClass::signal,
        helpSearchEngine, qOverload &>(&QHelpSearchEngine::search));

// Or using a lambda as wrapper:
connect(sender, &SenderClass::signal,
        helpSearchEngine, [receiver = helpSearchEngine](const QList &queryList) { receiver->search(queryList); });
Para ver más ejemplos y métodos, consulta «Conexión a ranuras sobrecargadas».

© 2026 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.