Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/scripting/KReportScriptHandler.h
Show All 34 Lines | |||||
35 | class KReportScriptSource; | 35 | class KReportScriptSource; | ||
36 | 36 | | |||
37 | namespace Scripting | 37 | namespace Scripting | ||
38 | { | 38 | { | ||
39 | class Report; | 39 | class Report; | ||
40 | class Section; | 40 | class Section; | ||
41 | } | 41 | } | ||
42 | 42 | | |||
43 | /*! | ||||
44 | * @brief Handles scripting during report rendering. | ||||
45 | * | ||||
staniek: +empty line | |||||
46 | * The script handler loads scriptable objects, and executes | ||||
47 | * appropriate script code during report rendering | ||||
48 | */ | ||||
43 | class KREPORT_EXPORT KReportScriptHandler : public QObject | 49 | class KREPORT_EXPORT KReportScriptHandler : public QObject | ||
44 | { | 50 | { | ||
45 | Q_OBJECT | 51 | Q_OBJECT | ||
46 | public: | 52 | public: | ||
47 | KReportScriptHandler(const KReportDataSource *reportDataSource, KReportScriptSource *scriptSource, KReportDocument* reportDocument); | 53 | KReportScriptHandler(const KReportDataSource *reportDataSource, KReportScriptSource *scriptSource, KReportDocument* reportDocument); | ||
48 | ~KReportScriptHandler() override; | 54 | ~KReportScriptHandler() override; | ||
49 | 55 | | |||
50 | QVariant evaluate(const QString&); | 56 | QVariant evaluate(const QString&); | ||
Show All 28 Lines |
+empty line