lib

KoSetBasicPropCommand< Property, Object, Function > Class Template Reference

#include <KoSetPropCommand.h>

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

KNamedCommand KCommand List of all members.

Detailed Description

template<class Property, class Object, void(Object::*)(Property) 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.


Public Member Functions

 KoSetBasicPropCommand (Object *object, const QString &name)
 KoSetBasicPropCommand (Object *object, const QString &name, const Property &oldProperty, const Property &newProperty)
virtual ~KoSetBasicPropCommand ()
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