kexi

KexiDB::AlterTableHandler::MoveFieldPositionAction Class Reference

#include <alter.h>

Inheritance diagram for KexiDB::AlterTableHandler::MoveFieldPositionAction:

KexiDB::AlterTableHandler::FieldActionBase KexiDB::AlterTableHandler::ActionBase

List of all members.


Detailed Description

Defines an action for moving a single table field to a different position within table schema.

Definition at line 355 of file alter.h.


Public Member Functions

 MoveFieldPositionAction (int fieldIndex, const QString &fieldName, int uid)
 MoveFieldPositionAction (bool)
int index () const
virtual QString debugString (const DebugOptions &debugOptions=DebugOptions())
virtual void simplifyActions (ActionDictDict &fieldActions)

Protected Member Functions

virtual void updateAlteringRequirements ()
virtual tristate execute (Connection &conn, TableSchema &table)

Protected Attributes

int m_index

Member Function Documentation

void AlterTableHandler::MoveFieldPositionAction::simplifyActions ( ActionDictDict fieldActions  )  [virtual]

Simplifies fieldActions dictionary. If this action has to be inserted Into the dictionary, an ActionDict is created first and then a copy of this action is inserted into it.

Reimplemented from KexiDB::AlterTableHandler::ActionBase.

Definition at line 719 of file alter.cpp.

void AlterTableHandler::MoveFieldPositionAction::updateAlteringRequirements (  )  [protected, virtual]

Todo:

Reimplemented from KexiDB::AlterTableHandler::ActionBase.

Definition at line 704 of file alter.cpp.

tristate AlterTableHandler::MoveFieldPositionAction::execute ( Connection conn,
TableSchema table 
) [protected, virtual]

Performs physical execution of this action.

Todo:

Reimplemented from KexiDB::AlterTableHandler::ActionBase.

Definition at line 725 of file alter.cpp.


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