marble
DatabaseQuery.cpp
Go to the documentation of this file.
23 DatabaseQuery::DatabaseQuery( const MarbleModel* model, const QString &searchTerm, const GeoDataLatLonBox &preferred ) :
24 m_queryType( BroadSearch ), m_resultFormat( AddressFormat ), m_searchTerm( searchTerm.trimmed() ),
virtual bool isEmpty() const
Indicates whether the bounding box is not initialised (and contains nothing).
Definition: GeoDataLatLonBox.cpp:768
bool contains(const Key &key) const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
This file contains the headers for MarbleModel.
void removeFirst()
A lightweight data structure to represent points of interest like addresses with support for serializ...
Definition: OsmPlacemark.h:24
const T & at(int i) const
void push_front(const T &value)
ResultFormat resultFormat() const
Definition: DatabaseQuery.cpp:182
Definition: OsmPlacemark.h:48
Definition: OsmPlacemark.h:39
QString tr(const char *sourceText, const char *disambiguation, int n)
int size() const
OsmPlacemark::OsmCategory category() const
Definition: DatabaseQuery.cpp:172
int indexIn(const QString &str, int offset, CaretMode caretMode) const
GeoDataCoordinates position() const
Definition: DatabaseQuery.cpp:207
QStringList capturedTexts() const
PositionTracking * positionTracking() const
Definition: MarbleModel.cpp:512
Definition: OsmPlacemark.h:49
search which contains a poi category
Definition: DatabaseQuery.h:35
T & first()
virtual GeoDataCoordinates center() const
returns the center of this box
Definition: GeoDataLatLonBox.cpp:276
QString toLower() const
Definition: OsmPlacemark.h:41
Definition: OsmPlacemark.h:43
DatabaseQuery(const MarbleModel *model, const QString &searchTerm, const GeoDataLatLonBox &preferred)
Definition: DatabaseQuery.cpp:23
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
T & last()
PositionProviderStatus status() const
Returns the status of the current position provider plugin, if any.
Definition: PositionTracking.cpp:394
bool isEmpty() const
GeoDataCoordinates currentLocation() const
Returns the current position, if any.
Definition: PositionTracking.cpp:389
display results with location information
Definition: DatabaseQuery.h:40
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.