Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportPluginInterface.h
Show All 33 Lines | |||||
34 | class KReportDesignReadingStatus; | 34 | class KReportDesignReadingStatus; | ||
35 | class KReportDesigner; | 35 | class KReportDesigner; | ||
36 | class KReportItemBase; | 36 | class KReportItemBase; | ||
37 | 37 | | |||
38 | //! Implementation of report plugin's entry point | 38 | //! Implementation of report plugin's entry point | ||
39 | #define KREPORT_PLUGIN_FACTORY(class_name, name) \ | 39 | #define KREPORT_PLUGIN_FACTORY(class_name, name) \ | ||
40 | K_PLUGIN_FACTORY_WITH_JSON(class_name ## Factory, name, registerPlugin<class_name>();) | 40 | K_PLUGIN_FACTORY_WITH_JSON(class_name ## Factory, name, registerPlugin<class_name>();) | ||
41 | 41 | | |||
42 | //! An interface for plugins delivering KReport elements | 42 | /*! | ||
43 | * @brief An interface for plugins delivering KReport elements. | ||||
44 | */ | ||||
43 | class KREPORT_EXPORT KReportPluginInterface : public QObject | 45 | class KREPORT_EXPORT KReportPluginInterface : public QObject | ||
44 | { | 46 | { | ||
45 | Q_OBJECT | 47 | Q_OBJECT | ||
46 | public: | 48 | public: | ||
47 | explicit KReportPluginInterface(QObject *parent = nullptr, | 49 | explicit KReportPluginInterface(QObject *parent = nullptr, | ||
48 | const QVariantList &args = QVariantList()); | 50 | const QVariantList &args = QVariantList()); | ||
49 | 51 | | |||
50 | ~KReportPluginInterface() override; | 52 | ~KReportPluginInterface() override; | ||
Show All 30 Lines |