kexi

KFormDesigner::PropertyCommand Class Reference

#include <commands.h>

Inheritance diagram for KFormDesigner::PropertyCommand:

KFormDesigner::Command KFormDesigner::LayoutPropertyCommand List of all members.

Detailed Description

This command is used when changing a property for one or more widgets. oldvalues is a QMap of the old values of the property for every widget, to allow reverting the change. value is the new value of the property. You can use the simpler constructor for a single widget.

Definition at line 61 of file commands.h.


Public Member Functions

 PropertyCommand (WidgetPropertySet *set, const QCString &wname, const QVariant &oldValue, const QVariant &value, const QCString &property)
 PropertyCommand (WidgetPropertySet *set, const QMap< QCString, QVariant > &oldvalues, const QVariant &value, const QCString &property)
virtual void execute ()
virtual void unexecute ()
virtual QString name () const
QCString property () const
void setValue (const QVariant &value)
const QMap< QCString, QVariant > & oldValues () const
virtual void debug ()

Protected Attributes

WidgetPropertySetm_propSet
QVariant m_value
QMap< QCString, QVariant > m_oldvalues
QCString m_property

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