Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/KReportAsyncItemManager_p.h
Show All 19 Lines | |||||
20 | #ifndef KREPORTASYNCITEMMANAGER_H | 20 | #ifndef KREPORTASYNCITEMMANAGER_H | ||
21 | #define KREPORTASYNCITEMMANAGER_H | 21 | #define KREPORTASYNCITEMMANAGER_H | ||
22 | 22 | | |||
23 | #include "config-kreport.h" | 23 | #include "config-kreport.h" | ||
24 | #include "KReportAsyncItemBase.h" | 24 | #include "KReportAsyncItemBase.h" | ||
25 | 25 | | |||
26 | #include <QObject> | 26 | #include <QObject> | ||
27 | #include <QQueue> | 27 | #include <QQueue> | ||
28 | #include <KReportRenderObjects.h> | ||||
28 | 29 | | |||
29 | namespace KReportPrivate { | 30 | namespace KReportPrivate { | ||
30 | 31 | | |||
31 | class RenderData; | 32 | class RenderData; | ||
32 | 33 | | |||
33 | class AsyncItemManager : public QObject | 34 | class AsyncItemManager : public QObject | ||
34 | { | 35 | { | ||
35 | Q_OBJECT | 36 | Q_OBJECT | ||
Show All 10 Lines | 46 | Q_SIGNALS: | |||
46 | void finished(); | 47 | void finished(); | ||
47 | 48 | | |||
48 | private Q_SLOTS: | 49 | private Q_SLOTS: | ||
49 | void itemFinished(); | 50 | void itemFinished(); | ||
50 | 51 | | |||
51 | private: | 52 | private: | ||
52 | QQueue<RenderData*> m_renderList; | 53 | QQueue<RenderData*> m_renderList; | ||
53 | QList<KReportAsyncItemBase*> m_itemList; | 54 | QList<KReportAsyncItemBase*> m_itemList; | ||
55 | ORODocument *m_curDoc; | ||||
staniek: Not needed since m_curPage->document() can be used. | |||||
56 | OROPage *m_curPage; | ||||
staniek: I hope it's safe to keep this raw pointer (wrt OROPage lifetime)? | |||||
54 | }; | 57 | }; | ||
55 | 58 | | |||
56 | } | 59 | } | ||
57 | #endif // KREPORTASYNCITEMMANAGER_H | 60 | #endif // KREPORTASYNCITEMMANAGER_H |
Not needed since m_curPage->document() can be used.