![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtLocation More...
#include <qplaceproposedsearchresult.h>
Inheritance diagram for QPlaceProposedSearchResult:
Collaboration diagram for QPlaceProposedSearchResult:Public Member Functions | |
| QPlaceProposedSearchResult () | |
| Constructs a new proposed search result. | |
| ~QPlaceProposedSearchResult () | |
| Destroys the proposed search result. | |
| QPlaceSearchRequest | searchRequest () const |
| Returns a place search request that can be used to perform an additional proposed search. | |
| void | setSearchRequest (const QPlaceSearchRequest &request) |
| Sets the proposed search request to request. | |
Public Member Functions inherited from QPlaceSearchResult | |
| QPlaceSearchResult () | |
| Constructs a new search result. | |
| QPlaceSearchResult (const QPlaceSearchResult &other) | |
| Constructs a copy of other. | |
| virtual | ~QPlaceSearchResult () |
| Destroys the search result. | |
| QPlaceSearchResult & | operator= (const QPlaceSearchResult &other) |
| Assigns other to this search result and returns a reference to this search result. | |
| bool | operator== (const QPlaceSearchResult &other) const |
| Returns true if other is equal to this search result, otherwise returns false. | |
| bool | operator!= (const QPlaceSearchResult &other) const |
| Returns true if other not equal to this search result, otherwise returns false. | |
| SearchResultType | type () const |
| Returns the result type. | |
| QString | title () const |
| Returns the title of the search result. | |
| void | setTitle (const QString &title) |
| Sets the title of the search result to title. | |
| QPlaceIcon | icon () const |
| Returns an icon that can be used to represent the search result. | |
| void | setIcon (const QPlaceIcon &icon) |
| Sets the icon of the search result to icon. | |
Additional Inherited Members | |
Public Types inherited from QPlaceSearchResult | |
| enum | SearchResultType { UnknownSearchResult = 0 , PlaceResult , ProposedSearchResult } |
| Defines the type of search result. More... | |
Protected Member Functions inherited from QPlaceSearchResult | |
| QPlaceSearchResult (QPlaceSearchResultPrivate *d) | |
Protected Attributes inherited from QPlaceSearchResult | |
| QSharedDataPointer< QPlaceSearchResultPrivate > | d_ptr |
\inmodule QtLocation
The QPlaceProposedSearchResult class represents a search result containing a proposed search.
Definition at line 13 of file qplaceproposedsearchresult.h.
| QPlaceProposedSearchResult::QPlaceProposedSearchResult | ( | ) |
Constructs a new proposed search result.
Contructs a copy of other if possible, otherwise constructs a default proposed search result.
Definition at line 31 of file qplaceproposedsearchresult.cpp.
| QPlaceProposedSearchResult::~QPlaceProposedSearchResult | ( | ) |
Destroys the proposed search result.
Definition at line 49 of file qplaceproposedsearchresult.cpp.
| QPlaceSearchRequest QPlaceProposedSearchResult::searchRequest | ( | ) | const |
Returns a place search request that can be used to perform an additional proposed search.
Definition at line 56 of file qplaceproposedsearchresult.cpp.
References d.
Referenced by QDeclarativeSearchResultModel::updateWith().
Here is the caller graph for this function:| void QPlaceProposedSearchResult::setSearchRequest | ( | const QPlaceSearchRequest & | request | ) |
Sets the proposed search request to request.
Definition at line 65 of file qplaceproposedsearchresult.cpp.