lib Library API Documentation

KoSetBasicPropCommand< Property, Object, Function > Class Template Reference

Generic command to set a property on an object. More...

#include <koSetPropCommand.h>

List of all members.

Public Member Functions

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


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.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:19 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003