From ac472a5510b477085020e608a5bee5e8cd3816c8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Dec 2011 04:07:05 +0000 Subject: Connection => Edge. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3745 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.cpp | 2 +- src/gui/Connection.cpp | 2 +- src/gui/Connection.hpp | 4 ++-- src/gui/PatchCanvas.cpp | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gui/App.cpp b/src/gui/App.cpp index dac6eeae..c93980a1 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -23,7 +23,7 @@ #include -#include "flowcanvas/Connection.hpp" +#include "flowcanvas/Edge.hpp" #include "ingen/ServerInterface.hpp" #include "ingen/EngineBase.hpp" #include "ingen/client/ClientStore.hpp" diff --git a/src/gui/Connection.cpp b/src/gui/Connection.cpp index 19cc4a14..e554de02 100644 --- a/src/gui/Connection.cpp +++ b/src/gui/Connection.cpp @@ -30,7 +30,7 @@ Connection::Connection(FlowCanvas::Canvas& canvas, FlowCanvas::Joinable* src, FlowCanvas::Joinable* dst, uint32_t color) - : FlowCanvas::Connection(canvas, src, dst, color) + : FlowCanvas::Edge(canvas, src, dst, color) , _connection_model(model) { } diff --git a/src/gui/Connection.hpp b/src/gui/Connection.hpp index aeb7a4c7..5eee2194 100644 --- a/src/gui/Connection.hpp +++ b/src/gui/Connection.hpp @@ -20,7 +20,7 @@ #include #include -#include "flowcanvas/Connection.hpp" +#include "flowcanvas/Edge.hpp" #include "raul/SharedPtr.hpp" namespace Ingen { @@ -34,7 +34,7 @@ namespace GUI { * * \ingroup GUI */ -class Connection : public FlowCanvas::Connection +class Connection : public FlowCanvas::Edge { public: Connection(FlowCanvas::Canvas& canvas, diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 9b77683b..89cb541c 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -485,7 +485,7 @@ PatchCanvas::disconnection(SharedPtr cm) FlowCanvas::Port* const dst = get_port_view(cm->dst_port()); if (src && dst) - remove_connection(src, dst); + remove_edge(src, dst); else LOG(error) << "Unable to find ports to disconnect " << cm->src_port_path() << " -> " << cm->dst_port_path() << endl; @@ -642,8 +642,8 @@ PatchCanvas::copy_selection() } } - for (SelectedConnections::const_iterator c = selected_connections().begin(); - c != selected_connections().end(); ++c) { + for (SelectedEdges::const_iterator c = selected_edges().begin(); + c != selected_edges().end(); ++c) { Connection* const connection = dynamic_cast(*c); if (connection) { const Sord::URI subject(*_app.world()->rdf_world(), -- cgit v1.2.1