kexi

KexiTableDesignerCommands::InsertFieldCommand Class Reference

#include <kexitabledesignercommands.h>

Inheritance diagram for KexiTableDesignerCommands::InsertFieldCommand:
KexiTableDesignerCommands::Command

Public Member Functions

 InsertFieldCommand (KexiTableDesignerView *view, int fieldIndex, const KoProperty::Set &set)
 
virtual TQString name () const
 
virtual void execute ()
 
virtual void unexecute ()
 
virtual KexiDB::AlterTableHandler::ActionBase * createAction ()
 
virtual TQString debugString ()
 
- Public Member Functions inherited from KexiTableDesignerCommands::Command
 Command (KexiTableDesignerView *view)
 

Protected Attributes

KexiDB::AlterTableHandler::InsertFieldAction * m_alterTableAction
 
KoProperty::Set m_set
 
- Protected Attributes inherited from KexiTableDesignerCommands::Command
TQGuardedPtr< KexiTableDesignerView > m_view
 

Detailed Description

Undo/redo command used when a new field is inserted into a table.

Definition at line 117 of file kexitabledesignercommands.h.

Constructor & Destructor Documentation

◆ InsertFieldCommand()

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

Definition at line 174 of file kexitabledesignercommands.cpp.

◆ ~InsertFieldCommand()

InsertFieldCommand::~InsertFieldCommand ( )
virtual

Definition at line 188 of file kexitabledesignercommands.cpp.

Member Function Documentation

◆ createAction()

KexiDB::AlterTableHandler::ActionBase * InsertFieldCommand::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 208 of file kexitabledesignercommands.cpp.

◆ debugString()

virtual TQString KexiTableDesignerCommands::InsertFieldCommand::debugString ( )
inlinevirtual

Reimplemented from KexiTableDesignerCommands::Command.

Definition at line 129 of file kexitabledesignercommands.h.

◆ execute()

void InsertFieldCommand::execute ( )
virtual

Definition at line 198 of file kexitabledesignercommands.cpp.

◆ name()

TQString InsertFieldCommand::name ( ) const
virtual

Definition at line 193 of file kexitabledesignercommands.cpp.

◆ unexecute()

void InsertFieldCommand::unexecute ( )
virtual

Definition at line 203 of file kexitabledesignercommands.cpp.

Member Data Documentation

◆ m_alterTableAction

KexiDB::AlterTableHandler::InsertFieldAction* KexiTableDesignerCommands::InsertFieldCommand::m_alterTableAction
protected

Definition at line 135 of file kexitabledesignercommands.h.

◆ m_set

KoProperty::Set KexiTableDesignerCommands::InsertFieldCommand::m_set
protected

Definition at line 136 of file kexitabledesignercommands.h.


The documentation for this class was generated from the following files: