marble
WlocatePositionProviderPlugin.cpp
Go to the documentation of this file.
180 QFuture<int> future = QtConcurrent::run( &wloc_get_location, &d->m_latitude, &d->m_longitude, &d->m_quality, &d->m_ccode );
188 d->m_status = returnCode == WLOC_OK ? PositionProviderStatusAvailable : PositionProviderStatusError;
198 Q_EXPORT_PLUGIN2( Marble::WlocatePositionProviderPlugin, Marble::WlocatePositionProviderPlugin )
virtual bool isInitialized() const
Definition: WlocatePositionProviderPlugin.cpp:168
Definition: PluginInterface.h:28
virtual QList< PluginAuthor > pluginAuthors() const
Definition: WlocatePositionProviderPlugin.cpp:91
WlocatePositionProviderPlugin()
Definition: WlocatePositionProviderPlugin.cpp:151
QString tr(const char *sourceText, const char *disambiguation, int n)
virtual QString copyrightYears() const
Definition: WlocatePositionProviderPlugin.cpp:86
virtual qreal direction() const
Returns the direction in which the gps device is moving.
Definition: WlocatePositionProviderPlugin.cpp:122
The abstract class that provides position information.
Definition: PositionProviderPlugin.h:26
QString fromUtf8(const char *str, int size)
virtual QString version() const
Definition: WlocatePositionProviderPlugin.cpp:76
virtual ~WlocatePositionProviderPlugin()
Definition: WlocatePositionProviderPlugin.cpp:157
virtual void initialize()
Definition: WlocatePositionProviderPlugin.cpp:162
void positionChanged(GeoDataCoordinates position, GeoDataAccuracy accuracy) const
QFuture< T > run(Function function,...)
virtual QDateTime timestamp() const
Definition: WlocatePositionProviderPlugin.cpp:146
PositionProviderStatus
Definition: PositionProviderPluginInterface.h:25
virtual QString description() const
Returns a user description of the plugin.
Definition: WlocatePositionProviderPlugin.cpp:81
virtual PositionProviderPlugin * newInstance() const
Create a new PositionProvider Plugin and return it.
Definition: WlocatePositionProviderPlugin.cpp:102
virtual QString nameId() const
Returns the unique name of the plugin.
Definition: WlocatePositionProviderPlugin.cpp:66
virtual QIcon icon() const
Returns an icon for the plugin.
Definition: WlocatePositionProviderPlugin.cpp:97
virtual GeoDataAccuracy accuracy() const
Definition: WlocatePositionProviderPlugin.cpp:127
virtual qreal speed() const
Returns the speed of the gps device in meters per second.
Definition: WlocatePositionProviderPlugin.cpp:117
virtual QString name() const
Returns the user-visible name of the plugin.
Definition: WlocatePositionProviderPlugin.cpp:61
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: GeoDataAccuracy.h:22
virtual GeoDataCoordinates position() const
Definition: WlocatePositionProviderPlugin.cpp:112
QDateTime currentDateTimeUtc()
virtual PositionProviderStatus status() const
Definition: WlocatePositionProviderPlugin.cpp:107
virtual QString guiString() const
Returns the string that should appear in the user interface.
Definition: WlocatePositionProviderPlugin.cpp:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 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:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.