summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.h
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-03-29 23:56:13 +0000
committerMarkus Engel <markus.engel@tum.de>2013-03-29 23:56:13 +0000
commit7df6616da5ea2debb86838366ddf746841549cdb (patch)
tree4557bc8c1950fe5c0f9e6063bd261f4a5c6ec5da /src/sp-shape.h
parentmerged from trunk (diff)
downloadinkscape-7df6616da5ea2debb86838366ddf746841549cdb.tar.gz
inkscape-7df6616da5ea2debb86838366ddf746841549cdb.zip
Renamed virtual function names.
(bzr r11608.1.57)
Diffstat (limited to 'src/sp-shape.h')
-rw-r--r--src/sp-shape.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/sp-shape.h b/src/sp-shape.h
index 20fe70626..85ac89a00 100644
--- a/src/sp-shape.h
+++ b/src/sp-shape.h
@@ -77,23 +77,23 @@ public:
CShape(SPShape* shape);
virtual ~CShape();
- virtual void onBuild(SPDocument *document, Inkscape::XML::Node *repr);
- virtual void onRelease();
- virtual void onUpdate(SPCtx* ctx, guint flags);
- virtual void onModified(unsigned int flags);
+ virtual void build(SPDocument *document, Inkscape::XML::Node *repr);
+ virtual void release();
+ virtual void update(SPCtx* ctx, guint flags);
+ virtual void modified(unsigned int flags);
- virtual void onSet(unsigned int key, gchar const* value);
- virtual Inkscape::XML::Node* onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags);
+ virtual void set(unsigned int key, gchar const* value);
+ virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags);
- virtual Geom::OptRect onBbox(Geom::Affine const &transform, SPItem::BBoxType bboxtype);
- virtual void onPrint(SPPrintContext* ctx);
+ virtual Geom::OptRect bbox(Geom::Affine const &transform, SPItem::BBoxType bboxtype);
+ virtual void print(SPPrintContext* ctx);
- virtual Inkscape::DrawingItem* onShow(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags);
- virtual void onHide(unsigned int key);
+ virtual Inkscape::DrawingItem* show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags);
+ virtual void hide(unsigned int key);
- virtual void onSnappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs);
+ virtual void snappoints(std::vector<Inkscape::SnapCandidatePoint> &p, Inkscape::SnapPreferences const *snapprefs);
- virtual void onSetShape();
+ virtual void set_shape();
protected:
SPShape* spshape;