• 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
PositionProviderPlugin.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 2009 Eckhart Wörner <ewoerner@kde.org>
9 //
10 
11 #ifndef MARBLE_POSITIONPROVIDERPLUGIN_H
12 #define MARBLE_POSITIONPROVIDERPLUGIN_H
13 
14 #include "PositionProviderPluginInterface.h"
15 #include "marble_export.h"
16 
17 
18 namespace Marble
19 {
20  class MarbleModel;
21  class PositionProviderPluginPrivate;
22 
26 class MARBLE_EXPORT PositionProviderPlugin : public QObject, public PositionProviderPluginInterface
27 {
28  Q_OBJECT
29 
30  public:
31  virtual ~PositionProviderPlugin();
32 
33  const MarbleModel* marbleModel() const;
34  void setMarbleModel( const MarbleModel* );
35 
41  virtual QString guiString() const = 0;
42 
47  virtual PositionProviderPlugin * newInstance() const = 0;
48 
49  Q_SIGNALS:
50  void statusChanged( PositionProviderStatus status ) const;
51  void positionChanged( GeoDataCoordinates position,
52  GeoDataAccuracy accuracy ) const;
53 
54  protected:
55  PositionProviderPlugin();
56 
57  private:
58  Q_DISABLE_COPY( PositionProviderPlugin )
59  PositionProviderPluginPrivate *d;
60 
61 };
62 
63 }
64 
65 #endif
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
Marble::PositionProviderPluginInterface
The interface for position provider plugins.
Definition: PositionProviderPluginInterface.h:36
Marble::PositionProviderPlugin
The abstract class that provides position information.
Definition: PositionProviderPlugin.h:26
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QString
Marble::PositionProviderStatus
PositionProviderStatus
Definition: PositionProviderPluginInterface.h:25
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
PositionProviderPluginInterface.h
marble_export.h
Marble::GeoDataAccuracy
Definition: GeoDataAccuracy.h:22
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