kexi
KexiDB::AlterTableHandler::MoveFieldPositionAction Class Reference
#include <alter.h>
Inheritance diagram for KexiDB::AlterTableHandler::MoveFieldPositionAction:

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.
void AlterTableHandler::MoveFieldPositionAction::updateAlteringRequirements | ( | ) | [protected, virtual] |
tristate AlterTableHandler::MoveFieldPositionAction::execute | ( | Connection & | conn, | |
TableSchema & | table | |||
) | [protected, virtual] |
Performs physical execution of this action.
Reimplemented from KexiDB::AlterTableHandler::ActionBase.
The documentation for this class was generated from the following files: