Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportAsyncItemBase.h
Show All 16 Lines | |||||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | 19 | | |||
20 | #ifndef KREPORTASYNCITEMBASE_H | 20 | #ifndef KREPORTASYNCITEMBASE_H | ||
21 | #define KREPORTASYNCITEMBASE_H | 21 | #define KREPORTASYNCITEMBASE_H | ||
22 | 22 | | |||
23 | #include "KReportItemBase.h" | 23 | #include "KReportItemBase.h" | ||
24 | 24 | | |||
25 | /*! | ||||
26 | * @brief Base class for items that are drawn asyncronously due to unknown loading times. | ||||
27 | */ | ||||
25 | class KREPORT_EXPORT KReportAsyncItemBase : public KReportItemBase | 28 | class KREPORT_EXPORT KReportAsyncItemBase : public KReportItemBase | ||
26 | { | 29 | { | ||
27 | Q_OBJECT | 30 | Q_OBJECT | ||
28 | public: | 31 | public: | ||
29 | KReportAsyncItemBase(); | 32 | KReportAsyncItemBase(); | ||
30 | ~KReportAsyncItemBase(); | 33 | ~KReportAsyncItemBase(); | ||
31 | int renderSimpleData(OROPage *page, OROSection *section, const QPointF &offset, const QVariant &data, KReportScriptHandler *script) override = 0; | 34 | int renderSimpleData(OROPage *page, OROSection *section, const QPointF &offset, const QVariant &data, KReportScriptHandler *script) override = 0; | ||
32 | virtual QVariant realItemData(const QVariant& itemData) const; | 35 | virtual QVariant realItemData(const QVariant& itemData) const; | ||
Show All 10 Lines |