KexiDB::AlterTableHandler::MoveFieldPositionAction Class Reference
#include <alter.h>
Inheritance diagram for KexiDB::AlterTableHandler::MoveFieldPositionAction:
Public Member Functions | |
| MoveFieldPositionAction (int fieldIndex, const TQString &fieldName, int uid) | |
| MoveFieldPositionAction (bool) | |
| int | index () const |
| virtual TQString | debugString (const DebugOptions &debugOptions=DebugOptions()) |
| virtual void | simplifyActions (ActionDictDict &fieldActions) |
Public Member Functions inherited from KexiDB::AlterTableHandler::FieldActionBase | |
| FieldActionBase (const TQString &fieldName, int uid) | |
| FieldActionBase (bool) | |
| TQString | fieldName () const |
| int | uid () const |
| void | setFieldName (const TQString &fieldName) |
Public Member Functions inherited from KexiDB::AlterTableHandler::ActionBase | |
| ActionBase (bool null=false) | |
| ChangeFieldPropertyAction & | toChangeFieldPropertyAction () |
| RemoveFieldAction & | toRemoveFieldAction () |
| InsertFieldAction & | toInsertFieldAction () |
| MoveFieldPositionAction & | toMoveFieldPositionAction () |
| bool | isNull () const |
| void | debug (const DebugOptions &debugOptions=DebugOptions()) |
Protected Member Functions | |
| virtual void | updateAlteringRequirements () |
| virtual tristate | execute (Connection &conn, TableSchema &table) |
Protected Member Functions inherited from KexiDB::AlterTableHandler::ActionBase | |
| void | setAlteringRequirements (int alteringRequirements) |
| int | alteringRequirements () const |
| virtual bool | shouldBeRemoved (ActionDictDict &fieldActions) |
| virtual tristate | updateTableSchema (TableSchema &table, Field *field, TQMap< TQString, TQString > &fieldMap) |
Protected Attributes | |
| int | m_index |
Protected Attributes inherited from KexiDB::AlterTableHandler::FieldActionBase | |
| int | m_fieldUID |
Detailed Description
Defines an action for moving a single table field to a different position within table schema.
Constructor & Destructor Documentation
◆ MoveFieldPositionAction() [1/2]
| AlterTableHandler::MoveFieldPositionAction::MoveFieldPositionAction | ( | int | fieldIndex, |
| const TQString & | fieldName, | ||
| int | uid | ||
| ) |
◆ MoveFieldPositionAction() [2/2]
| AlterTableHandler::MoveFieldPositionAction::MoveFieldPositionAction | ( | bool | ) |
◆ ~MoveFieldPositionAction()
|
virtual |
Member Function Documentation
◆ debugString()
|
virtual |
Reimplemented from KexiDB::AlterTableHandler::ActionBase.
◆ execute()
|
protectedvirtual |
Performs physical execution of this action.
Reimplemented from KexiDB::AlterTableHandler::ActionBase.
◆ index()
|
inline |
◆ simplifyActions()
|
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.
◆ updateAlteringRequirements()
|
protectedvirtual |
Reimplemented from KexiDB::AlterTableHandler::ActionBase.
Member Data Documentation
◆ m_index
|
protected |
The documentation for this class was generated from the following files:

Public Member Functions inherited from