Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
LPENodeObserver Class Reference

#include <lpeobject.h>

Inheritance diagram for LPENodeObserver:
Inkscape::XML::NodeObserver LivePathEffectObject

Private Member Functions

 ~LPENodeObserver () override=default
 
void notifyAttributeChanged (Inkscape::XML::Node &node, GQuark key, Inkscape::Util::ptr_shared oldval, Inkscape::Util::ptr_shared newval) final
 Attribute change callback.
 

Friends

class LivePathEffectObject
 

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 notifyChildRemoved (Node &node, Node &child, Node *prev)
 Child removal 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 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 22 of file lpeobject.h.

Constructor & Destructor Documentation

◆ ~LPENodeObserver()

LPENodeObserver::~LPENodeObserver ( )
overrideprivatedefault

Member Function Documentation

◆ notifyAttributeChanged()

void LPENodeObserver::notifyAttributeChanged ( Inkscape::XML::Node node,
GQuark  name,
Inkscape::Util::ptr_shared  old_value,
Inkscape::Util::ptr_shared  new_value 
)
finalprivatevirtual

Attribute change callback.

This method is called whenever one of a node's attributes is changed.

Parameters
nodeThe changed XML node
nameGQuark corresponding to the attribute's name
old_valueOld value of the modified attribute. Is a nullptr when the attribute is added.
new_valueNew value of the modified attribute. Is a nullptr when the attribute is removed.

Reimplemented from Inkscape::XML::NodeObserver.

Definition at line 172 of file lpeobject.cpp.

References key.

Friends And Related Symbol Documentation

◆ LivePathEffectObject

friend class LivePathEffectObject
friend

Definition at line 24 of file lpeobject.h.


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