Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/inhibit-screensaver/InhibitScreensaverPlugin.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
55 | QString description() const; | 55 | QString description() const; | ||
56 | 56 | | |||
57 | QString copyrightYears() const; | 57 | QString copyrightYears() const; | ||
58 | 58 | | |||
59 | QVector<PluginAuthor> pluginAuthors() const override; | 59 | QVector<PluginAuthor> pluginAuthors() const override; | ||
60 | 60 | | |||
61 | QIcon icon() const; | 61 | QIcon icon() const; | ||
62 | 62 | | |||
63 | virtual QStringList renderPosition() const; | 63 | RenderPositions renderPositions() const override; | ||
64 | 64 | | |||
65 | virtual bool render( GeoPainter *painter, ViewportParams *viewport, | 65 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
66 | const QString& renderPos = "NONE", GeoSceneLayer * layer = 0 ); | 66 | RenderPosition renderPos, GeoSceneLayer *layer) override; | ||
67 | 67 | | |||
68 | virtual QString renderPolicy() const; | 68 | virtual QString renderPolicy() const; | ||
69 | 69 | | |||
70 | private Q_SLOTS: | 70 | private Q_SLOTS: | ||
71 | void updateScreenSaverState( PositionProviderPlugin *activePlugin ); | 71 | void updateScreenSaverState( PositionProviderPlugin *activePlugin ); | ||
72 | 72 | | |||
73 | void inhibitScreenSaver(); | 73 | void inhibitScreenSaver(); | ||
74 | 74 | | |||
75 | private: | 75 | private: | ||
76 | InhibitScreensaverPluginPrivate* const d; | 76 | InhibitScreensaverPluginPrivate* const d; | ||
77 | }; | 77 | }; | ||
78 | 78 | | |||
79 | } | 79 | } | ||
80 | 80 | | |||
81 | #endif // INHIBITSCREENSAVERPLUGIN_H | 81 | #endif // INHIBITSCREENSAVERPLUGIN_H |