Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/KReportPreRenderer_p.h
Show All 21 Lines | |||||
22 | #include "config-kreport.h" | 22 | #include "config-kreport.h" | ||
23 | 23 | | |||
24 | #include "KReportRenderObjects.h" | 24 | #include "KReportRenderObjects.h" | ||
25 | #include "KReportAsyncItemManager_p.h" | 25 | #include "KReportAsyncItemManager_p.h" | ||
26 | #include "KReportDetailSectionData.h" | 26 | #include "KReportDetailSectionData.h" | ||
27 | 27 | | |||
28 | #include <QMap> | 28 | #include <QMap> | ||
29 | 29 | | |||
30 | #ifdef KREPORT_SCRIPTING | ||||
31 | #include <KReportScriptSource> | ||||
32 | #endif | ||||
33 | | ||||
30 | namespace KReportPrivate{ | 34 | namespace KReportPrivate{ | ||
31 | class OneRecordDataSource; | 35 | class OneRecordDataSource; | ||
32 | } | 36 | } | ||
33 | class KReportPreRenderer; | 37 | class KReportPreRenderer; | ||
34 | 38 | | |||
35 | /*! This class is the private class that houses all the internal | 39 | /*! This class is the private class that houses all the internal | ||
36 | variables so we can provide a cleaner interface to the user | 40 | variables so we can provide a cleaner interface to the user | ||
37 | without presenting to them things that they don't need to see | 41 | without presenting to them things that they don't need to see | ||
Show All 23 Lines | 46 | public: | |||
61 | 65 | | |||
62 | KReportDataSource* m_dataSource; | 66 | KReportDataSource* m_dataSource; | ||
63 | KReportPrivate::OneRecordDataSource *m_oneRecord; | 67 | KReportPrivate::OneRecordDataSource *m_oneRecord; | ||
64 | 68 | | |||
65 | QList<OROTextBox*> m_postProcText; | 69 | QList<OROTextBox*> m_postProcText; | ||
66 | 70 | | |||
67 | #ifdef KREPORT_SCRIPTING | 71 | #ifdef KREPORT_SCRIPTING | ||
68 | QMap<QString, QObject*> m_scriptObjects; | 72 | QMap<QString, QObject*> m_scriptObjects; | ||
73 | KReportScriptSource *scriptSource = nullptr; | ||||
staniek: Let's not use m_ here. Other uses of m_ can be removed in a separate task (would be nice). | |||||
69 | #endif | 74 | #endif | ||
70 | 75 | | |||
71 | void createNewPage(); | 76 | void createNewPage(); | ||
72 | qreal finishCurPage(bool lastPage); | 77 | qreal finishCurPage(bool lastPage); | ||
73 | qreal finishCurPageSize(bool lastPage); | 78 | qreal finishCurPageSize(bool lastPage); | ||
74 | 79 | | |||
75 | void renderDetailSection(KReportDetailSectionData *detailData); | 80 | void renderDetailSection(KReportDetailSectionData *detailData); | ||
76 | qreal renderSection(const KReportSectionData &); | 81 | qreal renderSection(const KReportSectionData &); | ||
Show All 25 Lines |
Let's not use m_ here. Other uses of m_ can be removed in a separate task (would be nice).