• 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
  • positionprovider
  • gpsd
GpsdThread.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 GPSDTHREAD_H
12 #define GPSDTHREAD_H
13 
14 #include "PositionProviderPlugin.h"
15 
16 #include <QThread>
17 
18 #include <libgpsmm.h>
19 
20 
21 
22 namespace Marble
23 {
24 
25 class GpsdConnection;
26 
27 class GpsdThread: public QThread
28 {
29  Q_OBJECT
30 
31  public:
32  GpsdThread();
33 
34  ~GpsdThread();
35 
36  virtual void run();
37 
38  QString error() const;
39 
40 Q_SIGNALS:
41  void statusChanged( PositionProviderStatus status ) const;
42 
43 private:
44  GpsdConnection* m_connection;
45 
46  signals:
47  void gpsdInfo( gps_data_t data );
48 };
49 
50 }
51 
52 #endif
PositionProviderPlugin.h
Marble::GpsdThread::gpsdInfo
void gpsdInfo(gps_data_t data)
Marble::GpsdThread
Definition: GpsdThread.h:27
Marble::GpsdThread::GpsdThread
GpsdThread()
Definition: GpsdThread.cpp:20
Marble::GpsdThread::statusChanged
void statusChanged(PositionProviderStatus status) const
Marble::GpsdConnection
Definition: GpsdConnection.h:24
QString
Marble::GpsdThread::error
QString error() const
Definition: GpsdThread.cpp:43
Marble::PositionProviderStatus
PositionProviderStatus
Definition: PositionProviderPluginInterface.h:25
Marble::GpsdThread::run
virtual void run()
Definition: GpsdThread.cpp:30
QThread
Marble::GpsdThread::~GpsdThread
~GpsdThread()
Definition: GpsdThread.cpp:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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