Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/AbstractDataPlugin.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 50 | public: | |||
---|---|---|---|---|---|
62 | /** | 62 | /** | ||
63 | * @brief Return how the plugin settings should be used. | 63 | * @brief Return how the plugin settings should be used. | ||
64 | */ | 64 | */ | ||
65 | QString renderPolicy() const; | 65 | QString renderPolicy() const; | ||
66 | 66 | | |||
67 | /** | 67 | /** | ||
68 | * @brief Preferred level in the layer stack for the rendering | 68 | * @brief Preferred level in the layer stack for the rendering | ||
69 | */ | 69 | */ | ||
70 | QStringList renderPosition() const; | 70 | RenderPositions renderPositions() const override; | ||
71 | 71 | | |||
72 | /** | 72 | /** | ||
73 | * @brief Renders the content provided by the plugin on the viewport. | 73 | * @brief Renders the content provided by the plugin on the viewport. | ||
74 | * @return @c true Returns whether the rendering has been successful | 74 | * @return @c true Returns whether the rendering has been successful | ||
75 | */ | 75 | */ | ||
76 | bool render( GeoPainter *painter, ViewportParams *viewport, | 76 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
77 | const QString& renderPos = QLatin1String("NONE"), GeoSceneLayer * layer = 0 ); | 77 | RenderPosition renderPos, GeoSceneLayer * layer) override; | ||
78 | 78 | | |||
79 | /** | 79 | /** | ||
80 | * @return The model associated with the plugin. | 80 | * @return The model associated with the plugin. | ||
81 | */ | 81 | */ | ||
82 | AbstractDataPluginModel *model(); | 82 | AbstractDataPluginModel *model(); | ||
83 | const AbstractDataPluginModel *model() const; | 83 | const AbstractDataPluginModel *model() const; | ||
84 | 84 | | |||
85 | /** | 85 | /** | ||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |