Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/web/KReportWebPlugin.cpp
Show All 22 Lines | |||||
23 | #include <QIcon> | 23 | #include <QIcon> | ||
24 | 24 | | |||
25 | KREPORT_PLUGIN_FACTORY(KReportWebPlugin, "kreport_webplugin.json") | 25 | KREPORT_PLUGIN_FACTORY(KReportWebPlugin, "kreport_webplugin.json") | ||
26 | 26 | | |||
27 | KReportWebPlugin::KReportWebPlugin(QObject *parent, const QVariantList &args) | 27 | KReportWebPlugin::KReportWebPlugin(QObject *parent, const QVariantList &args) | ||
28 | : KReportPluginInterface(parent) | 28 | : KReportPluginInterface(parent) | ||
29 | { | 29 | { | ||
30 | Q_UNUSED(args) | 30 | Q_UNUSED(args) | ||
31 | #if 0 | | |||
32 | KReportPluginMetaData *info = new KReportPluginInfo(); | | |||
33 | info->setClassName("web"); | | |||
34 | info->setName(tr("Web browser")); | | |||
35 | info->setIcon(koIcon("report_web_element")); | | |||
36 | info->setPriority(40); | | |||
37 | | ||||
38 | setInfo(info); | | |||
39 | #endif | | |||
40 | } | 31 | } | ||
41 | 32 | | |||
42 | KReportWebPlugin::~KReportWebPlugin() | 33 | KReportWebPlugin::~KReportWebPlugin() | ||
43 | { | 34 | { | ||
44 | } | 35 | } | ||
45 | 36 | | |||
46 | QObject *KReportWebPlugin::createRendererInstance(const QDomNode &element) | 37 | QObject *KReportWebPlugin::createRendererInstance(const QDomNode &element) | ||
47 | { | 38 | { | ||
Show All 27 Lines |