#include <kexitabledesignercommands.h>
Undo/redo command used for when changing a property for a table field.
Definition at line 62 of file kexitabledesignercommands.h.
◆ ChangeFieldPropertyCommand()
| ChangeFieldPropertyCommand::ChangeFieldPropertyCommand |
( |
KexiTableDesignerView * | view, |
|
|
const KoProperty::Set & | set, |
|
|
const TQCString & | propertyName, |
|
|
const TQVariant & | oldValue, |
|
|
const TQVariant & | newValue, |
|
|
KoProperty::Property::ListData *const | oldListData = 0, |
|
|
KoProperty::Property::ListData *const | newListData = 0 ) |
Creates the ChangeFieldPropertyCommand object. Note: we use internal "uid" property of a field (set["uid"]) to avoid problems with looking for field by name when more than one field exists with the same name (it's invalid but allowed in design time). oldlistData and and newListData can be specified so Property::setListData() will be called on execute() and unexecute().
Definition at line 51 of file kexitabledesignercommands.cpp.
◆ ~ChangeFieldPropertyCommand()
| ChangeFieldPropertyCommand::~ChangeFieldPropertyCommand |
( |
| ) |
|
|
virtual |
◆ createAction()
◆ debugString()
| TQString ChangeFieldPropertyCommand::debugString |
( |
| ) |
|
|
virtual |
◆ execute()
| void ChangeFieldPropertyCommand::execute |
( |
| ) |
|
|
virtual |
◆ name()
| TQString ChangeFieldPropertyCommand::name |
( |
| ) |
const |
|
virtual |
◆ unexecute()
| void ChangeFieldPropertyCommand::unexecute |
( |
| ) |
|
|
virtual |
◆ m_alterTableAction
◆ m_listData
| KoProperty::Property::ListData * KexiTableDesignerCommands::ChangeFieldPropertyCommand::m_listData |
|
protected |
◆ m_oldListData
| KoProperty::Property::ListData* KexiTableDesignerCommands::ChangeFieldPropertyCommand::m_oldListData |
|
protected |
◆ m_oldValue
| TQVariant KexiTableDesignerCommands::ChangeFieldPropertyCommand::m_oldValue |
|
protected |
The documentation for this class was generated from the following files: