KReport

KReportMapsPlugin.h
1/*
2 Copyright (C) 2010 by Adam Pigg (adam@piggz.co.uk)
3 Copyright (C) 2011 by Radoslaw Wicik (radoslaw@wicik.pl)
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
19*/
20
21#ifndef KREPORTMAPSPLUGIN_H
22#define KREPORTMAPSPLUGIN_H
23
24#include "KReportPluginInterface.h"
25
26class KReportMapsPlugin : public KReportPluginInterface
27{
28public:
29 explicit KReportMapsPlugin(QObject *parent, const QVariantList &args = QVariantList());
30 ~KReportMapsPlugin() override;
31
32 QObject *createRendererInstance(const QDomNode &element) override;
33 QObject *createDesignerInstance(const QDomNode &element, KReportDesigner *designer,
34 QGraphicsScene *scene) override;
35 QObject *createDesignerInstance(KReportDesigner *designer, QGraphicsScene *scene,
36 const QPointF &pos) override;
37#ifdef KREPORT_SCRIPTING
38 QObject *createScriptInstance(KReportItemBase *item) override;
39#endif
40};
41
42#endif // KOREPORTMAPSPLUGIN_H
The ReportDesigner is the main widget for designing a report.
Base class for items that are drawn syncronously.
An interface for plugins delivering KReport elements.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:50:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.