KoSetBasicPropCommand< Property, Object, Function > Class Template Reference
#include <KoSetPropCommand.h>
Inheritance diagram for KoSetBasicPropCommand< Property, Object, Function >:
Public Member Functions | |
| KoSetBasicPropCommand (Object *object, const TQString &name) | |
| KoSetBasicPropCommand (Object *object, const TQString &name, const Property &oldProperty, const Property &newProperty) | |
| virtual void | execute () |
| virtual void | unexecute () |
| void | setOldProperty (const Property &oldProperty) |
| const Property & | oldProperty () const |
| void | setNewProperty (const Property &newProperty) |
| const Property & | newProperty () const |
Public Member Functions inherited from KNamedCommand | |
| virtual TQString | name () const |
| void | setName (const TQString &name) |
Additional Inherited Members | |
Protected Member Functions inherited from KNamedCommand | |
| KNamedCommand (const TQString &name) | |
Detailed Description
template<class Property, class Object, void(Object::*)(Property) Function>
class KoSetBasicPropCommand< Property, Object, Function >
class KoSetBasicPropCommand< Property, Object, Function >
Generic command to set a property on an object.
This variant is for simple types, where the setter method takes a value.
Definition at line 29 of file KoSetPropCommand.h.
Constructor & Destructor Documentation
◆ KoSetBasicPropCommand() [1/2]
template<class Property , class Object , void(Object::*)(Property) Function>
|
inline |
Definition at line 32 of file KoSetPropCommand.h.
◆ KoSetBasicPropCommand() [2/2]
template<class Property , class Object , void(Object::*)(Property) Function>
|
inline |
Definition at line 33 of file KoSetPropCommand.h.
◆ ~KoSetBasicPropCommand()
template<class Property , class Object , void(Object::*)(Property) Function>
|
inlinevirtual |
Definition at line 36 of file KoSetPropCommand.h.
Member Function Documentation
◆ execute()
template<class Property , class Object , void(Object::*)(Property) Function>
|
inlinevirtual |
Implements KCommand.
Definition at line 38 of file KoSetPropCommand.h.
◆ newProperty()
template<class Property , class Object , void(Object::*)(Property) Function>
|
inline |
Definition at line 44 of file KoSetPropCommand.h.
◆ oldProperty()
template<class Property , class Object , void(Object::*)(Property) Function>
|
inline |
Definition at line 42 of file KoSetPropCommand.h.
◆ setNewProperty()
template<class Property , class Object , void(Object::*)(Property) Function>
|
inline |
Definition at line 43 of file KoSetPropCommand.h.
◆ setOldProperty()
template<class Property , class Object , void(Object::*)(Property) Function>
|
inline |
Definition at line 41 of file KoSetPropCommand.h.
◆ unexecute()
template<class Property , class Object , void(Object::*)(Property) Function>
|
inlinevirtual |
Implements KCommand.
Definition at line 39 of file KoSetPropCommand.h.
The documentation for this class was generated from the following file:

Public Member Functions inherited from