marble
#include <SearchRunner.h>
Signals | |
void | searchFinished (QVector< GeoDataPlacemark * > result) |
Public Member Functions | |
SearchRunner (QObject *parent=0) | |
virtual void | search (const QString &searchTerm, const GeoDataLatLonAltBox &preferred)=0 |
void | setModel (const MarbleModel *model) |
Protected Member Functions | |
const MarbleModel * | model () const |
Detailed Description
Definition at line 30 of file SearchRunner.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 15 of file SearchRunner.cpp.
Member Function Documentation
|
protected |
Access to the currently used model, or null if no was set with.
- See also
- setModel
Definition at line 25 of file SearchRunner.cpp.
|
pure virtual |
Start a placemark search.
Called by MarbleRunnerManager, runners are expected to return the result via the searchFinished signal. If implemented in a plugin, make sure to include Search in the plugin capabilities, otherwise MarbleRunnerManager will ignore the plugin
Implemented in Marble::OsmNominatimRunner, Marble::LocalOsmSearchRunner, Marble::LocalDatabaseRunner, and Marble::LatLonRunner.
|
signal |
This is emitted to indicate that the runner has finished the placemark search.
- Parameters
-
result the result of the search.
void Marble::SearchRunner::setModel | ( | const MarbleModel * | model | ) |
Stores a pointer to the currently used model.
Definition at line 20 of file SearchRunner.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.