Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportSectionData.cpp
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | |||||
88 | KReportSectionData::~KReportSectionData() | 88 | KReportSectionData::~KReportSectionData() | ||
89 | { | 89 | { | ||
90 | delete m_set; | 90 | delete m_set; | ||
91 | qDeleteAll(m_objects); | 91 | qDeleteAll(m_objects); | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | bool KReportSectionData::zLessThan(KReportItemBase* s1, KReportItemBase* s2) | 94 | bool KReportSectionData::zLessThan(KReportItemBase* s1, KReportItemBase* s2) | ||
95 | { | 95 | { | ||
96 | return s1->Z < s2->Z; | 96 | return s1->z() < s2->z(); | ||
97 | } | 97 | } | ||
98 | 98 | | |||
99 | bool KReportSectionData::xLessThan(KReportItemBase* s1, KReportItemBase* s2) | 99 | bool KReportSectionData::xLessThan(KReportItemBase* s1, KReportItemBase* s2) | ||
100 | { | 100 | { | ||
101 | return s1->position().toPoint().x() < s2->position().toPoint().x(); | 101 | return s1->position().toPoint().x() < s2->position().toPoint().x(); | ||
102 | } | 102 | } | ||
103 | 103 | | |||
104 | void KReportSectionData::createProperties(const QDomElement & elemSource) | 104 | void KReportSectionData::createProperties(const QDomElement & elemSource) | ||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |