PropertyContainer::SetPropertyCommand Class Reference

#include <PropertyContainer.h>

Inherits Command.

Inheritance diagram for PropertyContainer::SetPropertyCommand:

Inheritance graph
[legend]
Collaboration diagram for PropertyContainer::SetPropertyCommand:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 150 of file PropertyContainer.h.

Public Member Functions

 SetPropertyCommand (PropertyContainer *pc, const PropertyName &pn, int)
virtual ~SetPropertyCommand ()
virtual void execute ()
virtual void unexecute ()
virtual QString getName () const

Protected Attributes

PropertyContainerm_pc
PropertyName m_pn
int m_value
int m_oldValue


Constructor & Destructor Documentation

PropertyContainer::SetPropertyCommand::SetPropertyCommand ( PropertyContainer pc,
const PropertyName pn,
int   
)

Definition at line 236 of file PropertyContainer.cpp.

virtual PropertyContainer::SetPropertyCommand::~SetPropertyCommand (  )  [inline, virtual]

Definition at line 154 of file PropertyContainer.h.


Member Function Documentation

void PropertyContainer::SetPropertyCommand::execute (  )  [virtual]

Implements Command.

Definition at line 247 of file PropertyContainer.cpp.

References PropertyContainer::getPropertyRangeAndValue(), m_oldValue, m_pc, m_pn, m_value, and PropertyContainer::setProperty().

void PropertyContainer::SetPropertyCommand::unexecute (  )  [virtual]

Implements Command.

Definition at line 254 of file PropertyContainer.cpp.

References m_oldValue, m_pc, m_pn, and PropertyContainer::setProperty().

QString PropertyContainer::SetPropertyCommand::getName (  )  const [virtual]

Implements Command.

Definition at line 260 of file PropertyContainer.cpp.

References m_pn.


Member Data Documentation

PropertyContainer* PropertyContainer::SetPropertyCommand::m_pc [protected]

Definition at line 161 of file PropertyContainer.h.

Referenced by execute(), and unexecute().

PropertyName PropertyContainer::SetPropertyCommand::m_pn [protected]

Definition at line 162 of file PropertyContainer.h.

Referenced by execute(), getName(), and unexecute().

int PropertyContainer::SetPropertyCommand::m_value [protected]

Definition at line 163 of file PropertyContainer.h.

Referenced by execute().

int PropertyContainer::SetPropertyCommand::m_oldValue [protected]

Definition at line 164 of file PropertyContainer.h.

Referenced by execute(), and unexecute().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:35 2008 for SonicVisualiser by  doxygen 1.5.1