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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • plugins
  • runner
  • local-osm-search
LocalOsmSearchRunner.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2011 Dennis Nienhüser <earthwings@gentoo.org>
9 // Copyright 2013 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
10 //
11 
12 #ifndef MARBLE_LOCALOSMSEARCHRUNNER_H
13 #define MARBLE_LOCALOSMSEARCHRUNNER_H
14 
15 #include "SearchRunner.h"
16 
17 #include "OsmDatabase.h"
18 #include "OsmPlacemark.h"
19 #include "GeoDataFeature.h"
20 
21 #include <QMap>
22 
23 namespace Marble
24 {
25 
26 class LocalOsmSearchRunner : public SearchRunner
27 {
28  Q_OBJECT
29 public:
30  explicit LocalOsmSearchRunner( const QStringList &databaseFiles, QObject *parent = 0 );
31 
32  ~LocalOsmSearchRunner();
33 
34  virtual void search( const QString &searchTerm, const GeoDataLatLonBox &preferred );
35 
36 private:
37  OsmDatabase m_database;
38 
39  static QMap<OsmPlacemark::OsmCategory, GeoDataFeature::GeoDataVisualCategory> m_categoryMap;
40 };
41 
42 }
43 
44 #endif
Marble::OsmDatabase
Definition: OsmDatabase.h:25
Marble::LocalOsmSearchRunner::search
virtual void search(const QString &searchTerm, const GeoDataLatLonBox &preferred)
Start a placemark search.
Definition: LocalOsmSearchRunner.cpp:99
OsmPlacemark.h
QMap
Marble::LocalOsmSearchRunner::LocalOsmSearchRunner
LocalOsmSearchRunner(const QStringList &databaseFiles, QObject *parent=0)
Definition: LocalOsmSearchRunner.cpp:28
GeoDataFeature.h
QObject
QString
QStringList
Marble::LocalOsmSearchRunner::~LocalOsmSearchRunner
~LocalOsmSearchRunner()
Definition: LocalOsmSearchRunner.cpp:94
OsmDatabase.h
QObject::parent
QObject * parent() const
SearchRunner.h
Marble::SearchRunner
Definition: SearchRunner.h:30
Marble::LocalOsmSearchRunner
Definition: LocalOsmSearchRunner.h:26
Marble::GeoDataLatLonBox
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

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
  • 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