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