Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/render/twitter/twitterPlugin.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 41 | { | |||
---|---|---|---|---|---|
44 | Q_INTERFACES(Marble::RenderPluginInterface) | 44 | Q_INTERFACES(Marble::RenderPluginInterface) | ||
45 | MARBLE_PLUGIN(twitterPlugin) | 45 | MARBLE_PLUGIN(twitterPlugin) | ||
46 | 46 | | |||
47 | public: | 47 | public: | ||
48 | QStringList backendTypes() const; | 48 | QStringList backendTypes() const; | ||
49 | 49 | | |||
50 | QString renderPolicy() const; | 50 | QString renderPolicy() const; | ||
51 | 51 | | |||
52 | QStringList renderPosition() const; | 52 | RenderPositions renderPositions() const override; | ||
53 | 53 | | |||
54 | QString name() const; | 54 | QString name() const; | ||
55 | 55 | | |||
56 | QString guiString() const; | 56 | QString guiString() const; | ||
57 | 57 | | |||
58 | QString nameId() const; | 58 | QString nameId() const; | ||
59 | 59 | | |||
60 | QString description() const; | 60 | QString description() const; | ||
61 | 61 | | |||
62 | QIcon icon() const; | 62 | QIcon icon() const; | ||
63 | 63 | | |||
64 | 64 | | |||
65 | void initialize(); | 65 | void initialize(); | ||
66 | 66 | | |||
67 | bool isInitialized() const; | 67 | bool isInitialized() const; | ||
68 | 68 | | |||
69 | bool render(GeoPainter *painter, ViewportParams *viewport, const QString& renderPos, GeoSceneLayer * layer = 0); | 69 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
70 | RenderPosition renderPos, GeoSceneLayer *layer) override; | ||||
70 | 71 | | |||
71 | ~twitterPlugin(); | 72 | ~twitterPlugin(); | ||
72 | 73 | | |||
73 | public Q_SLOTS: | 74 | public Q_SLOTS: | ||
74 | void slotJsonDownloadComplete(QString , QString); //completed download of json reply fom panoramio | 75 | void slotJsonDownloadComplete(QString , QString); //completed download of json reply fom panoramio | ||
75 | void slotGeoCodingReplyRecieved(QString , QString); //completed download of image | 76 | void slotGeoCodingReplyRecieved(QString , QString); //completed download of image | ||
76 | 77 | | |||
77 | Q_SIGNALS: | 78 | Q_SIGNALS: | ||
Show All 16 Lines |