From 20d3e71f26ca884271ed5d372a8459394554c147 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Tue, 20 Jan 2015 01:24:11 +0100 Subject: finished setter revival in Document classes, hopefully. --- src/core/model/Node.hpp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/core/model/Node.hpp') diff --git a/src/core/model/Node.hpp b/src/core/model/Node.hpp index 3e778a6..6b13c30 100644 --- a/src/core/model/Node.hpp +++ b/src/core/model/Node.hpp @@ -450,6 +450,13 @@ public: */ Rooted getParent() const { return parent; } + /** + * Sets the parent node. + * + * @param parent is a Handle to the parent node. + */ + void setParent(Handle parent); + /** * Returns true, if the node does not have a parent. Root nodes may either * be the root element of the complete DOM tree @@ -522,8 +529,8 @@ class NodeVector : public ManagedGenericList>, ListAccessor>, Listener> { public: - using Base = ManagedGenericList>, ListAccessor>, - Listener>; + using Base = ManagedGenericList>, + ListAccessor>, Listener>; using Base::Base; /** @@ -553,9 +560,9 @@ class NodeMap : public ManagedGenericMap>, MapAccessor>>, Listener> { public: - using Base = ManagedGenericMap>, - MapAccessor>>, - Listener>; + using Base = + ManagedGenericMap>, + MapAccessor>>, Listener>; using Base::Base; /** -- cgit v1.2.3