Obsolete Members for QHelpSearchEngine

QHelpSearchEngine 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

공개 유형

(deprecated) SearchHit

공개 함수

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

공개 슬롯

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

멤버 유형 설명

[deprecated] QHelpSearchEngine::SearchHit

이 typedef는 더 이상 사용되지 않습니다. 새로운 코드에서는 이를 사용하지 말 것을 강력히 권장합니다.

대신 QHelpSearchResult 를 사용하십시오.

QPair 에 대한 typedef <QString, QString>. 이 두 값은 문서 파일 경로와 페이지 제목입니다.

hits()도 참조하십시오 .

멤버 함수 문서

[deprecated] int QHelpSearchEngine::hitCount() const

이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` searchResultCount()`를 사용하십시오.

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

이 함수는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` searchResults()`를 사용하십시오.

[deprecated] int QHelpSearchEngine::hitsCount() const

이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것이 좋습니다.

대신 searchResultCount()을 사용하십시오.

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

이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` searchInput()`를 사용하십시오.

이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 search(const QString &searchInput)를 사용하십시오.

참고: 이 슬롯은 오버로드되어 있습니다. 이 슬롯에 연결하려면:

// 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); });
더 많은 예제와 방법에 대해서는 오버로드된 슬롯에 연결하기를 참조하십시오.

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