Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportItemLine.h
Show All 25 Lines | |||||
26 | 26 | | |||
27 | namespace Scripting | 27 | namespace Scripting | ||
28 | { | 28 | { | ||
29 | class Line; | 29 | class Line; | ||
30 | } | 30 | } | ||
31 | 31 | | |||
32 | /** | 32 | /** | ||
33 | */ | 33 | */ | ||
34 | class KREPORT_EXPORT KReportItemLine : public KReportItemBase | 34 | class KREPORT_EXPORT KReportItemLine : public KReportItemBase | ||
staniek: Good catch. | |||||
35 | { | 35 | { | ||
36 | Q_OBJECT | 36 | Q_OBJECT | ||
37 | public: | 37 | public: | ||
38 | KReportItemLine(); | 38 | KReportItemLine(); | ||
39 | explicit KReportItemLine(const QDomNode & element); | 39 | explicit KReportItemLine(const QDomNode & element); | ||
40 | ~KReportItemLine(); | 40 | ~KReportItemLine(); | ||
41 | 41 | | |||
42 | virtual QString typeName() const; | 42 | virtual QString typeName() const; | ||
Show All 11 Lines | 50 | protected: | |||
54 | KProperty *m_lineWeight; | 54 | KProperty *m_lineWeight; | ||
55 | KProperty *m_lineStyle; | 55 | KProperty *m_lineStyle; | ||
56 | 56 | | |||
57 | KReportLineStyle lineStyle() const; | 57 | KReportLineStyle lineStyle() const; | ||
58 | int weight() const; | 58 | int weight() const; | ||
59 | void setWeight(int w); | 59 | void setWeight(int w); | ||
60 | 60 | | |||
61 | private: | 61 | private: | ||
62 | class Private; | ||||
staniek: Move to the end (convention) | |||||
63 | Private * const d; | ||||
64 | | ||||
62 | virtual void createProperties(); | 65 | virtual void createProperties(); | ||
63 | 66 | | |||
64 | friend class Scripting::Line; | 67 | friend class Scripting::Line; | ||
65 | }; | 68 | }; | ||
66 | 69 | | |||
67 | #endif | 70 | #endif |
Good catch.