#include <PropertyContainer.h>
Inherits Command.
Inheritance diagram for PropertyContainer::SetPropertyCommand:


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 | |
| PropertyContainer * | m_pc |
| PropertyName | m_pn |
| int | m_value |
| int | m_oldValue |
| 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.
| 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] |
Definition at line 162 of file PropertyContainer.h.
Referenced by execute(), getName(), and unexecute().
int PropertyContainer::SetPropertyCommand::m_value [protected] |
int PropertyContainer::SetPropertyCommand::m_oldValue [protected] |
1.5.1