Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/satellites/SatellitesPlugin.cpp
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | 71 | { | |||
---|---|---|---|---|---|
72 | return QStringList( "satellites" ); | 72 | return QStringList( "satellites" ); | ||
73 | } | 73 | } | ||
74 | 74 | | |||
75 | QString SatellitesPlugin::renderPolicy() const | 75 | QString SatellitesPlugin::renderPolicy() const | ||
76 | { | 76 | { | ||
77 | return QString( "ALWAYS" ); | 77 | return QString( "ALWAYS" ); | ||
78 | } | 78 | } | ||
79 | 79 | | |||
80 | QStringList SatellitesPlugin::renderPosition() const | 80 | RenderPositions SatellitesPlugin::renderPositions() const | ||
81 | { | 81 | { | ||
82 | return QStringList( "ORBIT" ); | 82 | return OrbitRenderPosition; | ||
83 | } | 83 | } | ||
84 | 84 | | |||
85 | QString SatellitesPlugin::name() const | 85 | QString SatellitesPlugin::name() const | ||
86 | { | 86 | { | ||
87 | return tr( "Satellites" ); | 87 | return tr( "Satellites" ); | ||
88 | } | 88 | } | ||
89 | 89 | | |||
90 | QString SatellitesPlugin::nameId() const | 90 | QString SatellitesPlugin::nameId() const | ||
▲ Show 20 Lines • Show All 85 Lines • ▼ Show 20 Line(s) | 146 | { | |||
176 | enableModel( enabled() ); | 176 | enableModel( enabled() ); | ||
177 | } | 177 | } | ||
178 | 178 | | |||
179 | bool SatellitesPlugin::isInitialized() const | 179 | bool SatellitesPlugin::isInitialized() const | ||
180 | { | 180 | { | ||
181 | return m_isInitialized; | 181 | return m_isInitialized; | ||
182 | } | 182 | } | ||
183 | 183 | | |||
184 | bool SatellitesPlugin::render( GeoPainter *painter, ViewportParams *viewport, | 184 | bool SatellitesPlugin::render(GeoPainter *painter, ViewportParams *viewport, | ||
185 | const QString &renderPos, GeoSceneLayer *layer ) | 185 | RenderPosition renderPos, GeoSceneLayer *layer) | ||
186 | { | 186 | { | ||
187 | Q_UNUSED( painter ); | 187 | Q_UNUSED( painter ); | ||
188 | Q_UNUSED( viewport ); | 188 | Q_UNUSED( viewport ); | ||
189 | Q_UNUSED( renderPos ); | 189 | Q_UNUSED( renderPos ); | ||
190 | Q_UNUSED( layer ); | 190 | Q_UNUSED( layer ); | ||
191 | 191 | | |||
192 | enableModel( enabled() ); | 192 | enableModel( enabled() ); | ||
193 | 193 | | |||
▲ Show 20 Lines • Show All 305 Lines • Show Last 20 Lines |