kexi

KexiTableDesignerCommands::RemoveFieldCommand Class Reference

#include <kexitabledesignercommands.h>

Inheritance diagram for KexiTableDesignerCommands::RemoveFieldCommand:

KexiTableDesignerCommands::Command List of all members.

Detailed Description

Undo/redo command used when a field is removed from a table.

Definition at line 93 of file kexitabledesignercommands.h.


Public Member Functions

 RemoveFieldCommand (KexiTableDesignerView *view, int fieldIndex, const KoProperty::Set *set)
virtual ~RemoveFieldCommand ()
virtual QString name () const
virtual void execute ()
virtual void unexecute ()
virtual KexiDB::AlterTableHandler::ActionBasecreateAction ()
virtual QString debugString ()

Protected Attributes

KexiDB::AlterTableHandler::RemoveFieldAction m_alterTableAction
KoProperty::Set * m_set
int m_fieldIndex

Constructor & Destructor Documentation

RemoveFieldCommand::RemoveFieldCommand ( KexiTableDesignerView view,
int  fieldIndex,
const KoProperty::Set *  set 
)

Constructs RemoveFieldCommand object. If set is 0, the action only means removing empty row (internal).

Definition at line 121 of file kexitabledesignercommands.cpp.


Member Function Documentation

KexiDB::AlterTableHandler::ActionBase * RemoveFieldCommand::createAction (  )  [virtual]

Used to collect actions data for AlterTableHandler Can return 0 if the action should not be passed to AlterTableHandler.

Reimplemented from KexiTableDesignerCommands::Command.

Definition at line 167 of file kexitabledesignercommands.cpp.


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