marble
SearchRunnerManager.cpp
  
Go to the documentation of this file.
   66 SearchRunnerManager::Private::Private( SearchRunnerManager *parent, const MarbleModel *marbleModel ) :
  157 void SearchRunnerManager::findPlacemarks( const QString &searchTerm, const GeoDataLatLonAltBox &preferred )
  184     QList<const SearchRunnerPlugin *> plugins = d->plugins( d->m_pluginManager->searchRunnerPlugins() );
  186         SearchTask *task = new SearchTask( plugin->newRunner(), this, d->m_marbleModel, searchTerm, preferred );
  201 QVector<GeoDataPlacemark *> SearchRunnerManager::searchPlacemarks( const QString &searchTerm, const GeoDataLatLonAltBox &preferred, int timeout )
This file contains the headers for MarbleModel. 
QVector< GeoDataPlacemark * > searchPlacemarks(const QString &searchTerm, const GeoDataLatLonAltBox &preferred=GeoDataLatLonAltBox(), int timeout=30000)
Definition: SearchRunnerManager.cpp:201
void searchResultChanged(QAbstractItemModel *model)
Placemarks were added to or removed from the model. 
qreal distanceSphere(qreal lon1, qreal lat1, qreal lon2, qreal lat2)
This method calculates the shortest distance between two points on a sphere. 
Definition: MarbleMath.h:52
void searchFinished(const QString &searchTerm)
The search request for the given search term has finished, i.e. 
void findPlacemarks(const QString &searchTerm, const GeoDataLatLonAltBox &preferred=GeoDataLatLonAltBox())
Search for placemarks matching the given search term. 
Definition: SearchRunnerManager.cpp:157
void placemarkSearchFinished()
Emitted whenever all runners are finished for the query. 
A plugin for Marble to execute a placemark search. 
Definition: SearchRunnerPlugin.h:25
virtual QString nameId() const =0
Returns the unique name of the plugin. 
The data model (not based on QAbstractModel) for a MarbleWidget. 
Definition: MarbleModel.h:96
~SearchRunnerManager()
Definition: SearchRunnerManager.cpp:152
SearchRunnerManager(const MarbleModel *marbleModel, QObject *parent=0)
Constructor. 
Definition: SearchRunnerManager.cpp:143
virtual SearchRunner * newRunner() const =0
Plugin factory method to create a new runner instance. 
A class that defines a 3D bounding box for geographic data. 
Definition: GeoDataLatLonAltBox.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference