From fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Feb 2017 23:18:59 +0100 Subject: Move Properties out of Resource --- src/gui/NewSubgraphWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/NewSubgraphWindow.cpp') diff --git a/src/gui/NewSubgraphWindow.cpp b/src/gui/NewSubgraphWindow.cpp index 08382897..b8459bc6 100644 --- a/src/gui/NewSubgraphWindow.cpp +++ b/src/gui/NewSubgraphWindow.cpp @@ -50,7 +50,7 @@ NewSubgraphWindow::NewSubgraphWindow(BaseObjectType* cobject, void NewSubgraphWindow::present(SPtr graph, - Node::Properties data) + Properties data) { set_graph(graph); _initial_data = data; @@ -95,8 +95,8 @@ NewSubgraphWindow::ok_clicked() Raul::Symbol::symbolify(_name_entry->get_text())); // Create graph - Resource::Properties props; - props.insert(make_pair(_app->uris().rdf_type, Resource::Property(_app->uris().ingen_Graph))); + Properties props; + props.insert(make_pair(_app->uris().rdf_type, Property(_app->uris().ingen_Graph))); props.insert(make_pair(_app->uris().ingen_polyphony, _app->forge().make(int32_t(poly)))); props.insert(make_pair(_app->uris().ingen_enabled, _app->forge().make(bool(true)))); _app->interface()->put( @@ -105,7 +105,7 @@ NewSubgraphWindow::ok_clicked() // Set external (block perspective) properties props = _initial_data; props.insert(make_pair(_app->uris().rdf_type, - Resource::Property(_app->uris().ingen_Graph))); + Property(_app->uris().ingen_Graph))); _app->interface()->put( path_to_uri(path), _initial_data, Resource::Graph::EXTERNAL); -- cgit v1.2.1