![Felgo Felgo](https://felgo.com/wp-content/themes/felgo/images/felgo.png)
The QHelpSearchResult class provides the data associated with the search result. More...
Header: | #include <QHelpSearchResult> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Help) target_link_libraries(mytarget PRIVATE Qt6::Help) |
qmake: | QT += help |
Since: | Qt 5.9 |
QHelpSearchResult(const QUrl &url, const QString &title, const QString &snippet) | |
QHelpSearchResult(const QHelpSearchResult &other) | |
QHelpSearchResult() | |
QHelpSearchResult & | operator=(const QHelpSearchResult &other) |
~QHelpSearchResult() | |
QString | snippet() const |
QString | title() const |
QUrl | url() const |
The QHelpSearchResult object is a data object that describes a single search result. The vector of search result objects is returned by QHelpSearchEngine::searchResults(). The description of the search result contains the document title and URL that the search input matched. It also contains the snippet from the document content containing the best match of the search input.
See also QHelpSearchEngine.
Constructs the search result containing url, title and snippet as the description of the result.
Constructs a copy of other.
Constructs a new empty QHelpSearchResult.
Assigns other to this search result and returns a reference to this search result.
Destroys the search result.
Returns the document snippet containing the search phrase of the search result.
Returns the document title of the search result.
Returns the document URL of the search result.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: