marble
#include <DatabaseQuery.h>
Public Types | |
enum | QueryType { AddressSearch, CategorySearch, BroadSearch } |
enum | ResultFormat { AddressFormat, DistanceFormat } |
Public Member Functions | |
DatabaseQuery (const MarbleModel *model, const QString &searchTerm, const GeoDataLatLonBox &preferred) | |
OsmPlacemark::OsmCategory | category () const |
QString | houseNumber () const |
GeoDataCoordinates | position () const |
QueryType | queryType () const |
QString | region () const |
ResultFormat | resultFormat () const |
QString | searchTerm () const |
QString | street () const |
Detailed Description
Parse result of a user's search term.
Definition at line 29 of file DatabaseQuery.h.
Member Enumeration Documentation
Enumerator | |
---|---|
AddressSearch | |
CategorySearch |
precise search for an address |
BroadSearch |
search which contains a poi category any other non specific search |
Definition at line 32 of file DatabaseQuery.h.
Enumerator | |
---|---|
AddressFormat | |
DistanceFormat |
display results with location information display results with distance information |
Definition at line 38 of file DatabaseQuery.h.
Constructor & Destructor Documentation
Marble::DatabaseQuery::DatabaseQuery | ( | const MarbleModel * | model, |
const QString & | searchTerm, | ||
const GeoDataLatLonBox & | preferred | ||
) |
Definition at line 23 of file DatabaseQuery.cpp.
Member Function Documentation
OsmPlacemark::OsmCategory Marble::DatabaseQuery::category | ( | ) | const |
Definition at line 172 of file DatabaseQuery.cpp.
QString Marble::DatabaseQuery::houseNumber | ( | ) | const |
Definition at line 192 of file DatabaseQuery.cpp.
GeoDataCoordinates Marble::DatabaseQuery::position | ( | ) | const |
Definition at line 207 of file DatabaseQuery.cpp.
DatabaseQuery::QueryType Marble::DatabaseQuery::queryType | ( | ) | const |
Definition at line 177 of file DatabaseQuery.cpp.
QString Marble::DatabaseQuery::region | ( | ) | const |
Definition at line 197 of file DatabaseQuery.cpp.
DatabaseQuery::ResultFormat Marble::DatabaseQuery::resultFormat | ( | ) | const |
Definition at line 182 of file DatabaseQuery.cpp.
QString Marble::DatabaseQuery::searchTerm | ( | ) | const |
Definition at line 202 of file DatabaseQuery.cpp.
QString Marble::DatabaseQuery::street | ( | ) | const |
Definition at line 187 of file DatabaseQuery.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.