7#ifndef PLACEMARKPOSITIONPROVIDERPLUGIN_H
8#define PLACEMARKPOSITIONPROVIDERPLUGIN_H
10#include "PositionProviderPlugin.h"
12#include "GeoDataAccuracy.h"
13#include "GeoDataCoordinates.h"
20class GeoDataPlacemark;
23class PlacemarkPositionProviderPlugin :
public PositionProviderPlugin
29 explicit PlacemarkPositionProviderPlugin(MarbleModel *marbleModel,
QObject *
parent =
nullptr);
32 QString nameId()
const override;
33 QString guiString()
const override;
34 QString version()
const override;
35 QString description()
const override;
36 QString copyrightYears()
const override;
38 QIcon icon()
const override;
39 void initialize()
override;
40 bool isInitialized()
const override;
42 PositionProviderPlugin *newInstance()
const override;
44 PositionProviderStatus status()
const override;
45 GeoDataCoordinates position()
const override;
46 GeoDataAccuracy accuracy()
const override;
47 qreal speed()
const override;
48 qreal direction()
const override;
52 MarbleModel *
const m_marbleModel;
53 const GeoDataPlacemark *m_placemark;
54 GeoDataCoordinates m_coordinates;
59 PositionProviderStatus m_status;
60 GeoDataAccuracy m_accuracy;
64 void setPlacemark(
const GeoDataPlacemark *placemark);
66 void updatePosition();
The interface for position provider plugins.
Binds a QML item to a specific geodetic location in screen coordinates.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.