Changeset View
Changeset View
Standalone View
Standalone View
src/renderer/scripting/KReportScriptSource.h
Show All 17 Lines | |||||
18 | #ifndef KREPORTSCRIPTSOURCE_H | 18 | #ifndef KREPORTSCRIPTSOURCE_H | ||
19 | #define KREPORTSCRIPTSOURCE_H | 19 | #define KREPORTSCRIPTSOURCE_H | ||
20 | 20 | | |||
21 | #include <QStringList> | 21 | #include <QStringList> | ||
22 | #include <QString> | 22 | #include <QString> | ||
23 | 23 | | |||
24 | #include "kreport_export.h" | 24 | #include "kreport_export.h" | ||
25 | 25 | | |||
26 | /** @brief Abstraction of report script source | 26 | /*! | ||
27 | * @brief Abstraction of report script source. | ||||
28 | * | ||||
staniek: +empty line | |||||
29 | * A script source is implemented by the source | ||||
30 | * application to provide scripts to the report. | ||||
27 | */ | 31 | */ | ||
28 | class KREPORT_EXPORT KReportScriptSource | 32 | class KREPORT_EXPORT KReportScriptSource | ||
29 | { | 33 | { | ||
30 | public: | 34 | public: | ||
31 | virtual ~KReportScriptSource(); | 35 | virtual ~KReportScriptSource(); | ||
32 | 36 | | |||
33 | //! Allow the implementation to return a list of possible scripts | 37 | //! Allow the implementation to return a list of possible scripts | ||
34 | virtual QStringList scriptList() const = 0; | 38 | virtual QStringList scriptList() const = 0; | ||
35 | 39 | | |||
36 | //! Allow the implementation to return some script code based on a specific script name | 40 | //! Allow the implementation to return some script code based on a specific script name | ||
37 | //! as set in the report | 41 | //! as set in the report | ||
38 | virtual QString scriptCode(const QString& script) const = 0; | 42 | virtual QString scriptCode(const QString& script) const = 0; | ||
39 | }; | 43 | }; | ||
40 | 44 | | |||
41 | #endif | 45 | #endif |
+empty line