Kexi API Documentation (2.0 alpha)

KexiTableDesignerCommands::InsertFieldCommand Class Reference

#include <kexitabledesignercommands.h>

Inheritance diagram for KexiTableDesignerCommands::InsertFieldCommand:

KexiTableDesignerCommands::Command KCommand List of all members.

Detailed Description

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

Definition at line 117 of file kexitabledesignercommands.h.

Public Member Functions

 InsertFieldCommand (KexiTableDesignerView *view, int fieldIndex, const KoProperty::Set &set)
virtual ~InsertFieldCommand ()
virtual QString name () const
virtual void execute ()
virtual void unexecute ()
virtual KexiDB::AlterTableHandler::ActionBasecreateAction ()
 Used to collect actions data for AlterTableHandler Can return 0 if the action should not be passed to AlterTableHandler.
virtual QString debugString ()

Protected Attributes

KexiDB::AlterTableHandler::InsertFieldActionm_alterTableAction
KoProperty::Set m_set


Constructor & Destructor Documentation

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

Definition at line 174 of file kexitabledesignercommands.cpp.

References KexiTableDesignerView::buildField(), m_alterTableAction, and m_set.

InsertFieldCommand::~InsertFieldCommand  )  [virtual]
 

Definition at line 188 of file kexitabledesignercommands.cpp.

References m_alterTableAction.


Member Function Documentation

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.

References m_alterTableAction.

virtual QString KexiTableDesignerCommands::InsertFieldCommand::debugString  )  [inline, virtual]
 

Reimplemented from KexiTableDesignerCommands::Command.

Definition at line 129 of file kexitabledesignercommands.h.

References KexiDB::AlterTableHandler::InsertFieldAction::index(), m_alterTableAction, m_set, and name().

void InsertFieldCommand::execute  )  [virtual]
 

Definition at line 198 of file kexitabledesignercommands.cpp.

References KexiDB::AlterTableHandler::InsertFieldAction::index(), m_alterTableAction, m_set, and KexiTableDesignerCommands::Command::m_view.

QString InsertFieldCommand::name  )  const [virtual]
 

Definition at line 193 of file kexitabledesignercommands.cpp.

References m_set.

Referenced by debugString().

void InsertFieldCommand::unexecute  )  [virtual]
 

Definition at line 203 of file kexitabledesignercommands.cpp.

References KexiDB::AlterTableHandler::InsertFieldAction::index(), m_alterTableAction, and KexiTableDesignerCommands::Command::m_view.


Member Data Documentation

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

Definition at line 135 of file kexitabledesignercommands.h.

Referenced by createAction(), debugString(), execute(), InsertFieldCommand(), unexecute(), and ~InsertFieldCommand().

KoProperty::Set KexiTableDesignerCommands::InsertFieldCommand::m_set [protected]
 

Definition at line 136 of file kexitabledesignercommands.h.

Referenced by debugString(), execute(), InsertFieldCommand(), and name().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:54 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003