summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-04 19:34:35 +0000
committerDavid Robillard <d@drobilla.net>2010-02-04 19:34:35 +0000
commit4d60d565d99eb06360251ee06f1af094811656e3 (patch)
tree061cbee74ba739dc44c85f54c6eef901ea7a90a9 /src/gui/NodeModule.cpp
parent02b16c6c80b4dd2d52fe3f34a800fef67e31611b (diff)
downloadingen-4d60d565d99eb06360251ee06f1af094811656e3.tar.gz
ingen-4d60d565d99eb06360251ee06f1af094811656e3.tar.bz2
ingen-4d60d565d99eb06360251ee06f1af094811656e3.zip
Consistent name (property_changed) for ObjectModel::signal_property handlers.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2426 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 9f10ffe7..482cbe95 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -55,7 +55,7 @@ NodeModule::NodeModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeMode
node->signal_new_port.connect(sigc::bind(sigc::mem_fun(this, &NodeModule::add_port), true));
node->signal_removed_port.connect(sigc::hide_return(sigc::mem_fun(this, &NodeModule::remove_port)));
- node->signal_property.connect(sigc::mem_fun(this, &NodeModule::set_property));
+ node->signal_property.connect(sigc::mem_fun(this, &NodeModule::property_changed));
node->signal_moved.connect(sigc::mem_fun(this, &NodeModule::rename));
PluginModel* plugin = dynamic_cast<PluginModel*>(node->plugin());
if (plugin)
@@ -99,10 +99,10 @@ NodeModule::create(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> n
ret = boost::shared_ptr<NodeModule>(new NodeModule(canvas, node));
for (GraphObject::Properties::const_iterator m = node->meta().properties().begin(); m != node->meta().properties().end(); ++m)
- ret->set_property(m->first, m->second);
+ ret->property_changed(m->first, m->second);
for (GraphObject::Properties::const_iterator m = node->properties().begin(); m != node->properties().end(); ++m)
- ret->set_property(m->first, m->second);
+ ret->property_changed(m->first, m->second);
for (NodeModel::Ports::const_iterator p = node->ports().begin(); p != node->ports().end(); ++p)
ret->add_port(*p, false);
@@ -399,7 +399,7 @@ NodeModule::store_location()
void
-NodeModule::set_property(const URI& key, const Atom& value)
+NodeModule::property_changed(const URI& key, const Atom& value)
{
const Shared::LV2URIMap& uris = App::instance().uris();
switch (value.type()) {