• 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
  • lib
  • marble
SearchRunner.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 2010 Dennis Nienhüser <earthwings@gentoo.org>
9 // Copyright 2011 Thibaut Gridel <tgridel@free.fr>
10 // Copyright 2012,2013 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
11 
12 #ifndef MARBLE_SEARCHRUNNER_H
13 #define MARBLE_SEARCHRUNNER_H
14 
15 #include <QObject>
16 #include "marble_export.h"
17 
18 #include "GeoDataDocument.h"
19 
20 #include <QVector>
21 
22 namespace Marble
23 {
24 
25 class GeoDataLatLonBox;
26 class GeoDataPlacemark;
27 class MarbleModel;
28 class RouteRequest;
29 
30 class MARBLE_EXPORT SearchRunner : public QObject
31 {
32  Q_OBJECT
33 
34 public:
35  explicit SearchRunner( QObject *parent = 0 );
36 
40  void setModel( const MarbleModel *model );
41 
48  virtual void search( const QString &searchTerm, const GeoDataLatLonBox &preferred ) = 0;
49 
50 Q_SIGNALS:
55  void searchFinished( QVector<GeoDataPlacemark*> result );
56 
57 protected:
61  const MarbleModel *model() const;
62 
63 private:
64  const MarbleModel *m_model;
65 };
66 
67 }
68 
69 #endif
GeoDataDocument.h
search
Definition: google-search.qml:12
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QString
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
QVector
marble_export.h
Marble::SearchRunner
Definition: SearchRunner.h:30
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:41 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