Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/maps/KReportScriptMaps.h
Show All 38 Lines | 38 | public Q_SLOTS: | |||
---|---|---|---|---|---|
39 | /** | 39 | /** | ||
40 | * Get the position of the map | 40 | * Get the position of the map | ||
41 | * @return position in points | 41 | * @return position in points | ||
42 | */ | 42 | */ | ||
43 | QPointF position() const; | 43 | QPointF position() const; | ||
44 | 44 | | |||
45 | /** | 45 | /** | ||
46 | * Sets the position of the map in points | 46 | * Sets the position of the map in points | ||
47 | * @param Position | 47 | * @param position | ||
48 | */ | 48 | */ | ||
49 | void setPosition(const QPointF &p); | 49 | void setPosition(const QPointF &position); | ||
50 | 50 | | |||
51 | /** | 51 | /** | ||
52 | * Get the size of the map | 52 | * Get the size of the map | ||
53 | * @return size in points | 53 | * @return size in points | ||
54 | */ | 54 | */ | ||
55 | QSizeF size() const; | 55 | QSizeF size() const; | ||
56 | 56 | | |||
57 | /** | 57 | /** | ||
58 | * Set the size of the map in points | 58 | * Set the size of the map in points | ||
59 | * @param Size | 59 | * @param size | ||
60 | */ | 60 | */ | ||
61 | void setSize(const QSizeF &s); | 61 | void setSize(const QSizeF &size); | ||
62 | 62 | | |||
63 | /** | ||||
64 | * Set the latitude value of the map | ||||
65 | * @param latitude | ||||
66 | */ | ||||
63 | void setLatitude(qreal latitude); | 67 | void setLatitude(qreal latitude); | ||
64 | 68 | | |||
69 | /** | ||||
70 | * Set the longitude value of the map | ||||
71 | * @param longitude | ||||
72 | */ | ||||
65 | void setLongitude(qreal longitude); | 73 | void setLongitude(qreal longitude); | ||
66 | 74 | | |||
75 | /** | ||||
76 | * Set the zoom factor of the map | ||||
77 | * @param zoom | ||||
78 | */ | ||||
67 | void setZoom(int zoom); | 79 | void setZoom(int zoom); | ||
68 | 80 | | |||
69 | private: | 81 | private: | ||
70 | KReportItemMaps *m_map; | 82 | KReportItemMaps *m_map; | ||
71 | }; | 83 | }; | ||
72 | 84 | | |||
73 | } | 85 | } | ||
74 | 86 | | |||
75 | #endif //SCRIPTINGKRSCRIPTMAPS_H | 87 | #endif //SCRIPTINGKRSCRIPTMAPS_H |