Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/web/KReportDesignerItemWeb.h
Show All 30 Lines | |||||
31 | class KReportDesignerItemWeb : public KReportItemWeb, public KReportDesignerItemRectBase | 31 | class KReportDesignerItemWeb : public KReportItemWeb, public KReportDesignerItemRectBase | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | public: | 34 | public: | ||
35 | KReportDesignerItemWeb(KReportDesigner *rw, QGraphicsScene *scene, const QPointF &pos); | 35 | KReportDesignerItemWeb(KReportDesigner *rw, QGraphicsScene *scene, const QPointF &pos); | ||
36 | KReportDesignerItemWeb(const QDomNode &element, KReportDesigner *rw, QGraphicsScene *scene); | 36 | KReportDesignerItemWeb(const QDomNode &element, KReportDesigner *rw, QGraphicsScene *scene); | ||
37 | virtual ~KReportDesignerItemWeb(); | 37 | virtual ~KReportDesignerItemWeb(); | ||
38 | 38 | | |||
39 | void init(QGraphicsScene *scene); | | |||
40 | | ||||
41 | virtual void buildXML(QDomDocument *doc, QDomElement *parent); | 39 | virtual void buildXML(QDomDocument *doc, QDomElement *parent); | ||
42 | virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); | 40 | virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget); | ||
43 | virtual KReportDesignerItemWeb *clone(); | 41 | virtual KReportDesignerItemWeb *clone(); | ||
44 | 42 | | |||
45 | protected: | 43 | protected: | ||
46 | virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); | 44 | virtual void mousePressEvent(QGraphicsSceneMouseEvent *event); | ||
47 | 45 | | |||
48 | private: | 46 | private: | ||
49 | void init(QGraphicsScene *, KReportDesigner *r); | 47 | void init(QGraphicsScene *scene); | ||
50 | 48 | | |||
51 | private Q_SLOTS: | 49 | private Q_SLOTS: | ||
52 | void slotPropertyChanged(KPropertySet &, KProperty &); | 50 | void slotPropertyChanged(KPropertySet &, KProperty &); | ||
53 | }; | 51 | }; | ||
54 | 52 | | |||
55 | #endif | 53 | #endif |