Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/scripting/KReportGroupTracker.h
1 | #ifndef KREPORTGROUPTRACKER_H | 1 | #ifndef KREPORTGROUPTRACKER_H | ||
---|---|---|---|---|---|
2 | #define KREPORTGROUPTRACKER_H | 2 | #define KREPORTGROUPTRACKER_H | ||
3 | 3 | | |||
4 | #include <QObject> | 4 | #include <QObject> | ||
5 | #include "kreport_export.h" | 5 | #include "kreport_export.h" | ||
6 | 6 | | |||
7 | /*! | ||||
8 | * @brief Keeps track of groups as the data for the group changes | ||||
9 | */ | ||||
7 | class KREPORT_EXPORT KReportGroupTracker : public QObject { | 10 | class KREPORT_EXPORT KReportGroupTracker : public QObject { | ||
8 | Q_OBJECT | 11 | Q_OBJECT | ||
9 | 12 | | |||
10 | protected: | 13 | protected: | ||
11 | KReportGroupTracker() {} | 14 | KReportGroupTracker() {} | ||
12 | ~KReportGroupTracker() override{} | 15 | ~KReportGroupTracker() override{} | ||
13 | 16 | | |||
14 | public: | 17 | public: | ||
15 | Q_SLOT virtual void setGroupData(const QMap<QString, QVariant> &groupData) = 0; | 18 | Q_SLOT virtual void setGroupData(const QMap<QString, QVariant> &groupData) = 0; | ||
16 | }; | 19 | }; | ||
17 | 20 | | |||
18 | #endif // KREPORTGROUPTRACKER_H | 21 | #endif // KREPORTGROUPTRACKER_H | ||
19 | 22 | |