marble
LocalDatabaseRunner.cpp
Go to the documentation of this file.
60 GeoDataPlacemark *placemark = dynamic_cast<GeoDataPlacemark*>(qvariant_cast<GeoDataObject*>( index.data( MarblePlacemarkModel::ObjectPointerRole )));
virtual bool isEmpty() const
Indicates whether the bounding box is not initialised (and contains nothing).
Definition: GeoDataLatLonBox.cpp:768
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
void append(const T &value)
This file contains the headers for MarbleModel.
void searchFinished(QVector< GeoDataPlacemark * > result)
This is emitted to indicate that the runner has finished the placemark search.
GeoDataCoordinates coordinate(const QDateTime &dateTime=QDateTime(), bool *iconAtCoordinates=0) const
Return the coordinates of the placemark at time dateTime as a GeoDataCoordinates. ...
Definition: GeoDataPlacemark.cpp:172
virtual bool contains(const GeoDataCoordinates &) const
Definition: GeoDataLatLonBox.cpp:309
The pointer to a specific object.
Definition: MarblePlacemarkModel.h:62
virtual QModelIndexList match(const QModelIndex &start, int role, const QVariant &value, int hits, QFlags< Qt::MatchFlag > flags) const
bool isValid() const
LocalDatabaseRunner(QObject *parent=0)
Definition: LocalDatabaseRunner.cpp:30
const MarbleModel * model() const
Access to the currently used model, or null if no was set with.
Definition: SearchRunner.cpp:25
void search(const QString &searchTerm, const GeoDataLatLonBox &preferred)
Start a placemark search.
Definition: LocalDatabaseRunner.cpp:40
QVariant data(int role) const
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
Definition: SearchRunner.h:30
~LocalDatabaseRunner()
Definition: LocalDatabaseRunner.cpp:35
QAbstractItemModel * placemarkModel()
Definition: MarbleModel.cpp:487
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:40 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:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.