Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/maps/KReportItemMaps.cpp
Show All 23 Lines | |||||
24 | #include <KReportRenderObjects.h> | 24 | #include <KReportRenderObjects.h> | ||
25 | 25 | | |||
26 | #include <sys/socket.h> | 26 | #include <sys/socket.h> | ||
27 | 27 | | |||
28 | #define myDebug() if (0) kDebug(44021) | 28 | #define myDebug() if (0) kDebug(44021) | ||
29 | 29 | | |||
30 | //! @todo replace with ReportItemMaps(const QDomNode &element = QDomNode()) | 30 | //! @todo replace with ReportItemMaps(const QDomNode &element = QDomNode()) | ||
31 | KReportItemMaps::KReportItemMaps() | 31 | KReportItemMaps::KReportItemMaps() | ||
32 | : m_longtitude(0) | | |||
33 | , m_latitude(0) | | |||
34 | , m_zoom(1200) | | |||
35 | , m_pageId(nullptr) | | |||
36 | , m_sectionId(nullptr) | | |||
37 | , m_oroPicture(nullptr) | | |||
38 | , m_longDataSetFromScript(false) | | |||
39 | , m_latDataSetFromScript(false) | | |||
40 | , m_zoomDataSetFromScript(false) | | |||
41 | { | 32 | { | ||
42 | createProperties(); | 33 | createProperties(); | ||
43 | } | 34 | } | ||
44 | 35 | | |||
45 | KReportItemMaps::KReportItemMaps(const QDomNode &element) | 36 | KReportItemMaps::KReportItemMaps(const QDomNode &element) | ||
46 | : KReportItemMaps() | 37 | : KReportItemMaps() | ||
47 | { | 38 | { | ||
48 | nameProperty()->setValue(element.toElement().attribute(QLatin1String("report:name"))); | 39 | nameProperty()->setValue(element.toElement().attribute(QLatin1String("report:name"))); | ||
▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines |