Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::UI::Tools::CCToolLayerNodeObserver Class Reference

#include <connector-tool.h>

Inheritance diagram for Inkscape::UI::Tools::CCToolLayerNodeObserver:
Inkscape::XML::NodeObserver Inkscape::UI::Tools::ConnectorTool

Private Member Functions

 ~CCToolLayerNodeObserver () override=default
 
void notifyChildRemoved (Inkscape::XML::Node &, Inkscape::XML::Node &, Inkscape::XML::Node *) final
 Child removal callback.
 

Friends

class ConnectorTool
 

Additional Inherited Members

- Public Member Functions inherited from Inkscape::XML::NodeObserver
virtual ~NodeObserver ()=default
 
virtual void notifyChildAdded (Node &node, Node &child, Node *prev)
 Child addition callback.
 
virtual void notifyChildOrderChanged (Node &node, Node &child, Node *old_prev, Node *new_prev)
 Child order change callback.
 
virtual void notifyContentChanged (Node &node, Util::ptr_shared old_content, Util::ptr_shared new_content)
 Content change callback.
 
virtual void notifyAttributeChanged (Node &node, GQuark name, Util::ptr_shared old_value, Util::ptr_shared new_value)
 Attribute change callback.
 
virtual void notifyElementNameChanged (Node &node, GQuark old_name, GQuark new_name)
 Element name change callback.
 
- Protected Member Functions inherited from Inkscape::XML::NodeObserver
 NodeObserver ()=default
 

Detailed Description

Definition at line 63 of file connector-tool.h.

Constructor & Destructor Documentation

◆ ~CCToolLayerNodeObserver()

Inkscape::UI::Tools::CCToolLayerNodeObserver::~CCToolLayerNodeObserver ( )
overrideprivatedefault

Member Function Documentation

◆ notifyChildRemoved()

void Inkscape::UI::Tools::CCToolLayerNodeObserver::notifyChildRemoved ( Inkscape::XML::Node node,
Inkscape::XML::Node child,
Inkscape::XML::Node prev 
)
finalprivatevirtual

Child removal callback.

This method is called whenever a child is removed from the observed node. The prev parameter is NULL when the removed child was first in the sibling order.

Parameters
nodeThe changed XML node
childThe removed child node
prevThe node that was before the removed node in sibling order, or NULL

Reimplemented from Inkscape::XML::NodeObserver.

Definition at line 122 of file connector-tool.cpp.

References Inkscape::UI::Tools::ConnectorTool::cc_clear_active_shape(), and child.

Friends And Related Symbol Documentation

◆ ConnectorTool

friend class ConnectorTool
friend

Definition at line 65 of file connector-tool.h.


The documentation for this class was generated from the following files: