Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/KReportPreRenderer_p.h
Show All 22 Lines | |||||
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 | namespace KReportPrivate{ | 30 | namespace KReportPrivate{ | ||
31 | class OneRecordData; | 31 | class OneRecordDataSource; | ||
32 | } | 32 | } | ||
33 | class KReportPreRenderer; | 33 | class KReportPreRenderer; | ||
34 | 34 | | |||
35 | /*! This class is the private class that houses all the internal | 35 | /*! This class is the private class that houses all the internal | ||
36 | variables so we can provide a cleaner interface to the user | 36 | variables so we can provide a cleaner interface to the user | ||
37 | without presenting to them things that they don't need to see | 37 | without presenting to them things that they don't need to see | ||
38 | and may change over time. */ | 38 | and may change over time. */ | ||
39 | class KReportPreRendererPrivate : public QObject | 39 | class KReportPreRendererPrivate : public QObject | ||
Show All 13 Lines | 42 | public: | |||
53 | qreal m_yOffset; // how far down the current page are we | 53 | qreal m_yOffset; // how far down the current page are we | ||
54 | qreal m_topMargin; // value stored in the correct units | 54 | qreal m_topMargin; // value stored in the correct units | ||
55 | qreal m_bottomMargin; // -- same as above -- | 55 | qreal m_bottomMargin; // -- same as above -- | ||
56 | qreal m_leftMargin; // -- same as above -- | 56 | qreal m_leftMargin; // -- same as above -- | ||
57 | qreal m_rightMargin; // -- same as above -- | 57 | qreal m_rightMargin; // -- same as above -- | ||
58 | qreal m_maxHeight; // -- same as above -- | 58 | qreal m_maxHeight; // -- same as above -- | ||
59 | qreal m_maxWidth; // -- same as above -- | 59 | qreal m_maxWidth; // -- same as above -- | ||
60 | int m_pageCounter; // what page are we currently on? | 60 | int m_pageCounter; // what page are we currently on? | ||
61 | 61 | | |||
62 | KReportData* m_kodata; | 62 | KReportDataSource* m_dataSource; | ||
staniek: -> m_dataSource | |||||
63 | KReportPrivate::OneRecordData *m_oneRecord; | 63 | KReportPrivate::OneRecordDataSource *m_oneRecord; | ||
64 | 64 | | |||
65 | QList<OROTextBox*> m_postProcText; | 65 | QList<OROTextBox*> m_postProcText; | ||
66 | 66 | | |||
67 | #ifdef KREPORT_SCRIPTING | 67 | #ifdef KREPORT_SCRIPTING | ||
68 | QMap<QString, QObject*> m_scriptObjects; | 68 | QMap<QString, QObject*> m_scriptObjects; | ||
69 | #endif | 69 | #endif | ||
70 | 70 | | |||
71 | void createNewPage(); | 71 | void createNewPage(); | ||
Show All 30 Lines |
-> m_dataSource