summaryrefslogtreecommitdiffstats
path: root/src/live_effects
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/live_effects
parentmerged from trunk (diff)
downloadinkscape-7df6616da5ea2debb86838366ddf746841549cdb.tar.gz
inkscape-7df6616da5ea2debb86838366ddf746841549cdb.zip
Renamed virtual function names.
(bzr r11608.1.57)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpeobject.cpp16
-rw-r--r--src/live_effects/lpeobject.h8
2 files changed, 12 insertions, 12 deletions
diff --git a/src/live_effects/lpeobject.cpp b/src/live_effects/lpeobject.cpp
index d742456d8..93f038473 100644
--- a/src/live_effects/lpeobject.cpp
+++ b/src/live_effects/lpeobject.cpp
@@ -98,13 +98,13 @@ LivePathEffectObject::livepatheffect_init(LivePathEffectObject *lpeobj)
/**
* Virtual build: set livepatheffect attributes from its associated XML node.
*/
-void CLivePathEffectObject::onBuild(SPDocument *document, Inkscape::XML::Node *repr) {
+void CLivePathEffectObject::build(SPDocument *document, Inkscape::XML::Node *repr) {
LivePathEffectObject* object = this->livepatheffectobject;
g_assert(object != NULL);
g_assert(SP_IS_OBJECT(object));
- CObject::onBuild(document, repr);
+ CObject::build(document, repr);
object->readAttr( "effect" );
@@ -119,7 +119,7 @@ void CLivePathEffectObject::onBuild(SPDocument *document, Inkscape::XML::Node *r
/**
* Virtual release of livepatheffect members before destruction.
*/
-void CLivePathEffectObject::onRelease() {
+void CLivePathEffectObject::release() {
LivePathEffectObject* object = this->livepatheffectobject;
LivePathEffectObject *lpeobj = LIVEPATHEFFECT(object);
@@ -150,13 +150,13 @@ void CLivePathEffectObject::onRelease() {
}
lpeobj->effecttype = Inkscape::LivePathEffect::INVALID_LPE;
- CObject::onRelease();
+ CObject::release();
}
/**
* Virtual set: set attribute to value.
*/
-void CLivePathEffectObject::onSet(unsigned key, gchar const *value) {
+void CLivePathEffectObject::set(unsigned key, gchar const *value) {
LivePathEffectObject* object = this->livepatheffectobject;
LivePathEffectObject *lpeobj = LIVEPATHEFFECT(object);
@@ -182,13 +182,13 @@ void CLivePathEffectObject::onSet(unsigned key, gchar const *value) {
break;
}
- CObject::onSet(key, value);
+ CObject::set(key, value);
}
/**
* Virtual write: write object attributes to repr.
*/
-Inkscape::XML::Node* CLivePathEffectObject::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
+Inkscape::XML::Node* CLivePathEffectObject::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
LivePathEffectObject* object = this->livepatheffectobject;
LivePathEffectObject *lpeobj = LIVEPATHEFFECT(object);
@@ -203,7 +203,7 @@ Inkscape::XML::Node* CLivePathEffectObject::onWrite(Inkscape::XML::Document *xml
lpeobj->lpe->writeParamsToSVG();
}
- CObject::onWrite(xml_doc, repr, flags);
+ CObject::write(xml_doc, repr, flags);
return repr;
}
diff --git a/src/live_effects/lpeobject.h b/src/live_effects/lpeobject.h
index 258ccee09..f360d7bdd 100644
--- a/src/live_effects/lpeobject.h
+++ b/src/live_effects/lpeobject.h
@@ -64,12 +64,12 @@ public:
CLivePathEffectObject(LivePathEffectObject* lpeo);
virtual ~CLivePathEffectObject();
- virtual void onBuild(SPDocument* doc, Inkscape::XML::Node* repr);
- virtual void onRelease();
+ virtual void build(SPDocument* doc, Inkscape::XML::Node* repr);
+ virtual void release();
- virtual void onSet(unsigned int key, const gchar* value);
+ virtual void set(unsigned int key, const gchar* value);
- virtual Inkscape::XML::Node* onWrite(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
+ virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
private:
LivePathEffectObject* livepatheffectobject;