lib

KoSetPropCommand< Property, Object, Function > Class Template Reference

#include <KoSetPropCommand.h>

Inheritance diagram for KoSetPropCommand< Property, Object, Function >:

KNamedCommand KCommand

List of all members.


Detailed Description

template<class Property, class Object, void(Object::*)(const Property &) Function>
class KoSetPropCommand< Property, Object, Function >

Generic command to set a property on an object.

This variant is for non-trivial types, where the setter method takes a const reference.

Definition at line 59 of file KoSetPropCommand.h.


Public Member Functions

 KoSetPropCommand (Object *object, const QString &name)
 KoSetPropCommand (Object *object, const QString &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

The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys