Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportDetailSectionData.cpp
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 83 | } else if ( s == QLatin1String("group-footer") ) { | |||
---|---|---|---|---|---|
85 | if (sd->isValid()) { | 85 | if (sd->isValid()) { | ||
86 | dgsd->m_groupFooter = sd; | 86 | dgsd->m_groupFooter = sd; | ||
87 | } else { | 87 | } else { | ||
88 | delete sd; | 88 | delete sd; | ||
89 | } | 89 | } | ||
90 | } | 90 | } | ||
91 | } | 91 | } | ||
92 | m_groupList.append(dgsd); | 92 | m_groupList.append(dgsd); | ||
93 | KReportData::SortedField s; | 93 | KReportDataSource::SortedField s; | ||
94 | s.setField(dgsd->m_column); | 94 | s.setField(dgsd->m_column); | ||
95 | s.setOrder(dgsd->m_sort); | 95 | s.setOrder(dgsd->m_sort); | ||
96 | m_sortedFields.append(s); | 96 | m_sortedFields.append(s); | ||
97 | 97 | | |||
98 | } else if (elemThis.tagName() == QLatin1String("report:section") && elemThis.attribute(QLatin1String("report:section-type")) == QLatin1String("detail")) { | 98 | } else if (elemThis.tagName() == QLatin1String("report:section") && elemThis.attribute(QLatin1String("report:section-type")) == QLatin1String("detail")) { | ||
99 | KReportSectionData * sd = new KReportSectionData(elemThis, report); | 99 | KReportSectionData * sd = new KReportSectionData(elemThis, report); | ||
100 | if (sd->isValid()) { | 100 | if (sd->isValid()) { | ||
101 | m_detailSection = sd; | 101 | m_detailSection = sd; | ||
Show All 22 Lines |