marble
FlightGearPositionProviderPlugin.cpp
Go to the documentation of this file.
QString toUpper() const
iterator remove(iterator pos)
QDateTime addYears(int nyears) const
QList< QByteArray > split(char sep) const
virtual QString name() const
Returns the user-visible name of the plugin.
Definition: FlightGearPositionProviderPlugin.cpp:33
void statusChanged(PositionProviderStatus status) const
bool fixBadGPRMC(QByteArray &line)
fixed case where wrong date format is used '2404112' instead of '240412'
Definition: FlightGearPositionProviderPlugin.cpp:90
QObject * sender() const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
bool hasPendingDatagrams() const
virtual qreal speed() const
Returns the speed of the gps device in meters per second.
Definition: FlightGearPositionProviderPlugin.cpp:210
virtual QIcon icon() const
Returns an icon for the plugin.
Definition: FlightGearPositionProviderPlugin.cpp:70
Definition: PluginInterface.h:28
bool startsWith(const QByteArray &ba) const
virtual QString version() const
Definition: FlightGearPositionProviderPlugin.cpp:48
QString join(const QString &separator) const
double toDouble(bool *ok) const
QString tr(const char *sourceText, const char *disambiguation, int n)
int size() const
The abstract class that provides position information.
Definition: PositionProviderPlugin.h:26
virtual void initialize()
Definition: FlightGearPositionProviderPlugin.cpp:75
void resize(int size)
virtual QString description() const
Returns a user description of the plugin.
Definition: FlightGearPositionProviderPlugin.cpp:53
QString number(int n, int base)
QString fromUtf8(const char *str, int size)
bool bind(const QHostAddress &address, quint16 port)
virtual QList< PluginAuthor > pluginAuthors() const
Definition: FlightGearPositionProviderPlugin.cpp:63
void positionChanged(GeoDataCoordinates position, GeoDataAccuracy accuracy) const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
virtual QString guiString() const
Returns the string that should appear in the user interface.
Definition: FlightGearPositionProviderPlugin.cpp:43
int year() const
virtual GeoDataAccuracy accuracy() const
Definition: FlightGearPositionProviderPlugin.cpp:205
void set(qreal lon, qreal lat, qreal alt=0, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian)
(re)set the coordinates in a GeoDataCoordinates object
Definition: GeoDataCoordinates.cpp:657
virtual ~FlightGearPositionProviderPlugin()
Definition: FlightGearPositionProviderPlugin.cpp:28
qint64 readDatagram(char *data, qint64 maxSize, QHostAddress *address, quint16 *port)
virtual QDateTime timestamp() const
Definition: FlightGearPositionProviderPlugin.cpp:220
virtual PositionProviderStatus status() const
Definition: FlightGearPositionProviderPlugin.cpp:195
PositionProviderStatus
Definition: PositionProviderPluginInterface.h:25
iterator end()
QDateTime fromString(const QString &string, Qt::DateFormat format)
FlightGearPositionProviderPlugin()
Definition: FlightGearPositionProviderPlugin.cpp:23
virtual bool isInitialized() const
Definition: FlightGearPositionProviderPlugin.cpp:185
QByteArray toLatin1() const
QDate date() const
virtual qreal direction() const
Returns the direction in which the gps device is moving.
Definition: FlightGearPositionProviderPlugin.cpp:215
virtual GeoDataCoordinates position() const
Definition: FlightGearPositionProviderPlugin.cpp:200
char * data()
virtual QString nameId() const
Returns the unique name of the plugin.
Definition: FlightGearPositionProviderPlugin.cpp:38
virtual QString copyrightYears() const
Definition: FlightGearPositionProviderPlugin.cpp:58
QString fromLatin1(const char *str, int size)
int size() const
Definition: GeoDataAccuracy.h:22
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
iterator begin()
virtual QString error() const
Returns an error string to be presented to the user if the status is PositionProviderStatusError.
Definition: FlightGearPositionProviderPlugin.cpp:225
qint64 pendingDatagramSize() const
virtual PositionProviderPlugin * newInstance() const
Create a new PositionProvider Plugin and return it.
Definition: FlightGearPositionProviderPlugin.cpp:190
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
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.