summaryrefslogtreecommitdiffstats
path: root/src/sp-switch.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/sp-switch.cpp
parentmerged from trunk (diff)
downloadinkscape-7df6616da5ea2debb86838366ddf746841549cdb.tar.gz
inkscape-7df6616da5ea2debb86838366ddf746841549cdb.zip
Renamed virtual function names.
(bzr r11608.1.57)
Diffstat (limited to 'src/sp-switch.cpp')
-rw-r--r--src/sp-switch.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-switch.cpp b/src/sp-switch.cpp
index f4c5d8a49..f6c267f79 100644
--- a/src/sp-switch.cpp
+++ b/src/sp-switch.cpp
@@ -77,7 +77,7 @@ GSList *SPSwitch::_childList(bool add_ref, SPObject::Action action) {
return g_slist_prepend (NULL, child);
}
-gchar *CSwitch::onDescription() {
+gchar *CSwitch::description() {
gint len = this->spgroup->getItemCount();
return g_strdup_printf(
ngettext("<b>Conditional group</b> of <b>%d</b> object",
@@ -85,15 +85,15 @@ gchar *CSwitch::onDescription() {
len), len);
}
-void CSwitch::onChildAdded(Inkscape::XML::Node* child, Inkscape::XML::Node* ref) {
+void CSwitch::child_added(Inkscape::XML::Node* child, Inkscape::XML::Node* ref) {
this->spswitch->_reevaluate(true);
}
-void CSwitch::onRemoveChild(Inkscape::XML::Node *) {
+void CSwitch::remove_child(Inkscape::XML::Node *) {
this->spswitch->_reevaluate();
}
-void CSwitch::onOrderChanged (Inkscape::XML::Node *, Inkscape::XML::Node *, Inkscape::XML::Node *)
+void CSwitch::order_changed (Inkscape::XML::Node *, Inkscape::XML::Node *, Inkscape::XML::Node *)
{
this->spswitch->_reevaluate();
}