Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/positionmarker/PositionMarker.h
Show All 37 Lines | 36 | { | |||
---|---|---|---|---|---|
38 | Q_PLUGIN_METADATA( IID "org.kde.edu.marble.PositionMarker" ) | 38 | Q_PLUGIN_METADATA( IID "org.kde.edu.marble.PositionMarker" ) | ||
39 | Q_INTERFACES( Marble::RenderPluginInterface ) | 39 | Q_INTERFACES( Marble::RenderPluginInterface ) | ||
40 | Q_INTERFACES( Marble::DialogConfigurationInterface ) | 40 | Q_INTERFACES( Marble::DialogConfigurationInterface ) | ||
41 | MARBLE_PLUGIN( PositionMarker ) | 41 | MARBLE_PLUGIN( PositionMarker ) | ||
42 | public: | 42 | public: | ||
43 | explicit PositionMarker(const MarbleModel *marbleModel = 0 ); | 43 | explicit PositionMarker(const MarbleModel *marbleModel = 0 ); | ||
44 | ~PositionMarker (); | 44 | ~PositionMarker (); | ||
45 | 45 | | |||
46 | QStringList renderPosition() const; | 46 | RenderPositions renderPositions() const override; | ||
47 | 47 | | |||
48 | QString renderPolicy() const; | 48 | QString renderPolicy() const; | ||
49 | 49 | | |||
50 | QStringList backendTypes() const; | 50 | QStringList backendTypes() const; | ||
51 | 51 | | |||
52 | QString name() const; | 52 | QString name() const; | ||
53 | 53 | | |||
54 | QString guiString() const; | 54 | QString guiString() const; | ||
Show All 11 Lines | |||||
66 | QIcon icon () const; | 66 | QIcon icon () const; | ||
67 | 67 | | |||
68 | QDialog *configDialog(); | 68 | QDialog *configDialog(); | ||
69 | 69 | | |||
70 | void initialize (); | 70 | void initialize (); | ||
71 | 71 | | |||
72 | bool isInitialized () const; | 72 | bool isInitialized () const; | ||
73 | 73 | | |||
74 | bool render( GeoPainter *painter, ViewportParams *viewport, | 74 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
75 | const QString& renderPos, GeoSceneLayer * layer = 0 ); | 75 | RenderPosition renderPos, GeoSceneLayer *layer) override; | ||
76 | 76 | | |||
77 | // Overriding LayerInterface to paint on top of the route | 77 | // Overriding LayerInterface to paint on top of the route | ||
78 | virtual qreal zValue() const; | 78 | virtual qreal zValue() const; | ||
79 | 79 | | |||
80 | /** | 80 | /** | ||
81 | * @return: The settings of the item. | 81 | * @return: The settings of the item. | ||
82 | */ | 82 | */ | ||
83 | virtual QHash<QString,QVariant> settings() const; | 83 | virtual QHash<QString,QVariant> settings() const; | ||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |