Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDesignerSectionDetailGroup.cpp
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | |||||
54 | { | 54 | { | ||
55 | Q_ASSERT(rsd); | 55 | Q_ASSERT(rsd); | ||
56 | d->reportSectionDetail = rsd; | 56 | d->reportSectionDetail = rsd; | ||
57 | if (!d->reportSectionDetail) { | 57 | if (!d->reportSectionDetail) { | ||
58 | kreportWarning() << "Error: ReportSectionDetail is null"; | 58 | kreportWarning() << "Error: ReportSectionDetail is null"; | ||
59 | return; | 59 | return; | ||
60 | } | 60 | } | ||
61 | KReportDesigner * rd = rsd->reportDesigner(); | 61 | KReportDesigner * rd = rsd->reportDesigner(); | ||
62 | d->groupHeader = new KReportDesignerSection(rd /*, _rsd*/); | 62 | d->groupHeader = rd->createSection(); | ||
63 | d->groupFooter = new KReportDesignerSection(rd /*, _rsd*/); | 63 | d->groupFooter = rd->createSection(); | ||
64 | setGroupHeaderVisible(false); | 64 | setGroupHeaderVisible(false); | ||
65 | setGroupFooterVisible(false); | 65 | setGroupFooterVisible(false); | ||
66 | setColumn(column); | 66 | setColumn(column); | ||
67 | } | 67 | } | ||
68 | 68 | | |||
69 | KReportDesignerSectionDetailGroup::~KReportDesignerSectionDetailGroup() | 69 | KReportDesignerSectionDetailGroup::~KReportDesignerSectionDetailGroup() | ||
70 | { | 70 | { | ||
71 | delete d; | 71 | delete d; | ||
▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines |