summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
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/color-profile.cpp
parentmerged from trunk (diff)
downloadinkscape-7df6616da5ea2debb86838366ddf746841549cdb.tar.gz
inkscape-7df6616da5ea2debb86838366ddf746841549cdb.zip
Renamed virtual function names.
(bzr r11608.1.57)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index ca44ad49f..a2810d22c 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -250,7 +250,7 @@ void ColorProfile::init( ColorProfile *cprof )
/**
* Callback: free object
*/
-void CColorProfile::onRelease() {
+void CColorProfile::release() {
ColorProfile* object = this->colorprofile;
// Unregister ourselves
@@ -314,7 +314,7 @@ void ColorProfileImpl::_clearProfile()
/**
* Callback: set attributes from associated repr.
*/
-void CColorProfile::onBuild(SPDocument *document, Inkscape::XML::Node *repr) {
+void CColorProfile::build(SPDocument *document, Inkscape::XML::Node *repr) {
ColorProfile* object = this->colorprofile;
ColorProfile *cprof = COLORPROFILE(object);
@@ -323,7 +323,7 @@ void CColorProfile::onBuild(SPDocument *document, Inkscape::XML::Node *repr) {
g_assert(cprof->name == 0);
g_assert(cprof->intentStr == 0);
- CObject::onBuild(document, repr);
+ CObject::build(document, repr);
object->readAttr( "xlink:href" );
object->readAttr( "local" );
@@ -340,7 +340,7 @@ void CColorProfile::onBuild(SPDocument *document, Inkscape::XML::Node *repr) {
/**
* Callback: set attribute.
*/
-void CColorProfile::onSet(unsigned key, gchar const *value) {
+void CColorProfile::set(unsigned key, gchar const *value) {
ColorProfile* object = this->colorprofile;
ColorProfile *cprof = COLORPROFILE(object);
@@ -451,7 +451,7 @@ void CColorProfile::onSet(unsigned key, gchar const *value) {
break;
default:
- CObject::onSet(key, value);
+ CObject::set(key, value);
break;
}
}
@@ -459,7 +459,7 @@ void CColorProfile::onSet(unsigned key, gchar const *value) {
/**
* Callback: write attributes to associated repr.
*/
-Inkscape::XML::Node* CColorProfile::onWrite(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
+Inkscape::XML::Node* CColorProfile::write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags) {
ColorProfile* object = this->colorprofile;
ColorProfile *cprof = COLORPROFILE(object);
@@ -484,7 +484,7 @@ Inkscape::XML::Node* CColorProfile::onWrite(Inkscape::XML::Document *xml_doc, In
repr->setAttribute( "rendering-intent", cprof->intentStr );
}
- CObject::onWrite(xml_doc, repr, flags);
+ CObject::write(xml_doc, repr, flags);
return repr;
}