• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • SearchRunner
Signals | Public Member Functions | Protected Member Functions | List of all members
Marble::SearchRunner Class Referenceabstract

#include <SearchRunner.h>

Inheritance diagram for Marble::SearchRunner:
Inheritance graph
[legend]

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

Marble::SearchRunner::SearchRunner ( QObject *  parent = 0)
explicit

Definition at line 15 of file SearchRunner.cpp.

Member Function Documentation

const MarbleModel * Marble::SearchRunner::model ( ) const
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.

virtual void Marble::SearchRunner::search ( const QString &  searchTerm,
const GeoDataLatLonAltBox &  preferred 
)
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.

void Marble::SearchRunner::searchFinished ( QVector< GeoDataPlacemark * >  result)
signal

This is emitted to indicate that the runner has finished the placemark search.

Parameters
resultthe 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:
  • SearchRunner.h
  • SearchRunner.cpp
This file is part of the KDE documentation.
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.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal