ChangeAction Class Reference

The ChangeAction class handles the ChangeListener issues to inform PropertyLinks about value changes if the set-function was called. More...

#include <changeaction.h>

Inheritance diagram for ChangeAction:
Action

List of all members.

Public Member Functions

 ChangeAction ()
 Default constructor.
virtual ChangeActionclone () const
 see Action::clone().
virtual void exec ()
 Calls OnChange-callback function on every listener.
void registerLink (const ChangeListenerType &listener)
 Registers a change listener.
void unregisterLink (const ChangeListenerType &listener)
 Unregisters a change listener.
void setOldValue (const BoxObject &value)
 Sets old value of property.
void setNewValue (const BoxObject &value)
 Sets new value of property.

Protected Attributes

ChangeData data_
ChangeListenerList changeListeners_

Detailed Description

The ChangeAction class handles the ChangeListener issues to inform PropertyLinks about value changes if the set-function was called.

Definition at line 46 of file changeaction.h.


Member Function Documentation

void exec (  )  [virtual]

Calls OnChange-callback function on every listener.

see also Action::exec().

Implements Action.

Definition at line 42 of file changeaction.cpp.