Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDesignerSectionDetailGroup.cpp
Show All 23 Lines | |||||
24 | 24 | | |||
25 | #include <QDomElement> | 25 | #include <QDomElement> | ||
26 | #include <QDomDocument> | 26 | #include <QDomDocument> | ||
27 | 27 | | |||
28 | //! @internal | 28 | //! @internal | ||
29 | class Q_DECL_HIDDEN KReportDesignerSectionDetailGroup::Private | 29 | class Q_DECL_HIDDEN KReportDesignerSectionDetailGroup::Private | ||
30 | { | 30 | { | ||
31 | public: | 31 | public: | ||
32 | explicit Private() | 32 | explicit Private() {} | ||
staniek: +space | |||||
piggz: where would you like a space? | |||||
staniek: `() {}` | |||||
33 | : groupHeader(0) | | |||
34 | , groupFooter(0) | | |||
35 | , pageBreak(KReportDesignerSectionDetailGroup::BreakNone) | | |||
36 | , sort(Qt::AscendingOrder) | | |||
37 | {} | | |||
38 | 33 | | |||
39 | ~Private() | 34 | ~Private() | ||
40 | { | 35 | { | ||
41 | // I delete these here so that there are no widgets | 36 | //Delete these here so that there are no widgets | ||
42 | //left floating around | 37 | //left floating around | ||
43 | delete groupHeader; | 38 | delete groupHeader; | ||
44 | delete groupFooter; | 39 | delete groupFooter; | ||
45 | } | 40 | } | ||
46 | 41 | | |||
47 | QString column; | 42 | QString column; | ||
48 | | ||||
49 | KReportDesignerSection *groupHeader; | 43 | KReportDesignerSection *groupHeader; | ||
50 | KReportDesignerSection *groupFooter; | 44 | KReportDesignerSection *groupFooter; | ||
51 | | ||||
52 | KReportDesignerSectionDetail * reportSectionDetail; | 45 | KReportDesignerSectionDetail * reportSectionDetail; | ||
53 | 46 | PageBreak pageBreak = KReportDesignerSectionDetailGroup::BreakNone; | |||
54 | PageBreak pageBreak; | 47 | Qt::SortOrder sort = Qt::AscendingOrder; | ||
staniek: Same here | |||||
55 | Qt::SortOrder sort; | | |||
56 | }; | 48 | }; | ||
57 | 49 | | |||
58 | KReportDesignerSectionDetailGroup::KReportDesignerSectionDetailGroup(const QString & column, KReportDesignerSectionDetail * rsd, | 50 | KReportDesignerSectionDetailGroup::KReportDesignerSectionDetailGroup(const QString & column, KReportDesignerSectionDetail * rsd, | ||
59 | QWidget * parent) | 51 | QWidget * parent) | ||
60 | : QObject(parent) | 52 | : QObject(parent) | ||
61 | , d(new Private()) | 53 | , d(new Private()) | ||
62 | { | 54 | { | ||
63 | Q_ASSERT(rsd); | 55 | Q_ASSERT(rsd); | ||
▲ Show 20 Lines • Show All 171 Lines • Show Last 20 Lines |
+space