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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
ReverseGeocodingRunnerManager.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 2008 Henry de Valence <hdevalence@gmail.com>
9 // Copyright 2010 Dennis Nienhüser <earthwings@gentoo.org>
10 // Copyright 2010-2013 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
11 // Copyright 2011 Thibaut Gridel <tgridel@free.fr>
12 
13 #ifndef MARBLE_REVERSEGEOCODINGRUNNERMANAGER_H
14 #define MARBLE_REVERSEGEOCODINGRUNNERMANAGER_H
15 
16 #include <QObject>
17 
18 #include "marble_export.h"
19 
20 class QAbstractItemModel;
21 
22 namespace Marble
23 {
24 
25 class GeoDataCoordinates;
26 class GeoDataPlacemark;
27 class MarbleModel;
28 class ReverseGeocodingTask;
29 
30 class MARBLE_EXPORT ReverseGeocodingRunnerManager : public QObject
31 {
32  Q_OBJECT
33 
34 public:
40  explicit ReverseGeocodingRunnerManager( const MarbleModel *marbleModel, QObject *parent = 0 );
41 
42  ~ReverseGeocodingRunnerManager();
43 
51  void reverseGeocoding( const GeoDataCoordinates &coordinates );
52  QString searchReverseGeocoding( const GeoDataCoordinates &coordinates, int timeout = 30000 );
53 
54 Q_SIGNALS:
62  void reverseGeocodingFinished( const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark );
63 
67  void reverseGeocodingFinished();
68 
69 private:
70  Q_PRIVATE_SLOT( d, void addReverseGeocodingResult( const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark ) )
71  Q_PRIVATE_SLOT( d, void cleanupReverseGeocodingTask( ReverseGeocodingTask *task ) )
72 
73  class Private;
74  friend class Private;
75  Private *const d;
76 };
77 
78 }
79 
80 #endif
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::ReverseGeocodingTask
A RunnerTask that executes reverse geocoding.
Definition: RunnerTask.h:58
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::ReverseGeocodingRunnerManager
Definition: ReverseGeocodingRunnerManager.h:30
QAbstractItemModel
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:96
marble_export.h
Marble::GeoDataPlacemark
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
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

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