summaryrefslogtreecommitdiffstats
path: root/src/gui/Port.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-13 01:22:29 +0000
committerDavid Robillard <d@drobilla.net>2011-05-13 01:22:29 +0000
commit981c7950a6f5fc9f22decaee261556d20b641d5c (patch)
tree326c2256d5876e3c55ec2fb9ea13c4a04f29bf0b /src/gui/Port.cpp
parenteae8f927dbf4913c7cb72605af5da0763f7be422 (diff)
downloadingen-981c7950a6f5fc9f22decaee261556d20b641d5c.tar.gz
ingen-981c7950a6f5fc9f22decaee261556d20b641d5c.tar.bz2
ingen-981c7950a6f5fc9f22decaee261556d20b641d5c.zip
Make signals private with accessors, and localise dependency on sigc::signal.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3258 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r--src/gui/Port.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp
index ba28078d..afb46f4d 100644
--- a/src/gui/Port.cpp
+++ b/src/gui/Port.cpp
@@ -85,16 +85,18 @@ Port::Port(
_rect->property_dash() = dash;
set_border_width(dash ? 2.0 : 0.0);
- pm->signal_moved.connect(sigc::mem_fun(this, &Port::moved));
+ pm->signal_moved().connect(sigc::mem_fun(this, &Port::moved));
if (App::instance().can_control(pm.get())) {
set_toggled(pm->is_toggle());
show_control();
- pm->signal_property.connect(sigc::mem_fun(this, &Port::property_changed));
- pm->signal_value_changed.connect(sigc::mem_fun(this, &Port::value_changed));
+ pm->signal_property().connect(
+ sigc::mem_fun(this, &Port::property_changed));
+ pm->signal_value_changed().connect(
+ sigc::mem_fun(this, &Port::value_changed));
}
- pm->signal_activity.connect(sigc::mem_fun(this, &Port::activity));
+ pm->signal_activity().connect(sigc::mem_fun(this, &Port::activity));
update_metadata();