kexi

KexiDB::AlterTableHandler::ActionBase Class Reference

#include <alter.h>

Inheritance diagram for KexiDB::AlterTableHandler::ActionBase:

KexiDB::AlterTableHandler::FieldActionBase KexiDB::AlterTableHandler::ChangeFieldPropertyAction KexiDB::AlterTableHandler::InsertFieldAction KexiDB::AlterTableHandler::MoveFieldPositionAction KexiDB::AlterTableHandler::RemoveFieldAction List of all members.

Detailed Description

Abstract base class used for implementing all the AlterTable actions.

Definition at line 157 of file alter.h.


Public Member Functions

 ActionBase (bool null=false)
virtual ~ActionBase ()
ChangeFieldPropertyActiontoChangeFieldPropertyAction ()
RemoveFieldActiontoRemoveFieldAction ()
InsertFieldActiontoInsertFieldAction ()
MoveFieldPositionActiontoMoveFieldPositionAction ()
bool isNull () const
virtual QString debugString (const DebugOptions &debugOptions=DebugOptions())
void debug (const DebugOptions &debugOptions=DebugOptions())

Protected Member Functions

void setAlteringRequirements (int alteringRequirements)
int alteringRequirements () const
virtual void updateAlteringRequirements ()
virtual void simplifyActions (ActionDictDict &fieldActions)
virtual tristate updateTableSchema (TableSchema &table, Field *field, QMap< QString, QString > &fieldMap)

Friends

class AlterTableHandler

Classes

class  DebugOptions
 Controls debug options for actions. Used in debugString() and debug(). More...

Member Function Documentation

bool KexiDB::AlterTableHandler::ActionBase::isNull (  )  const [inline]

Returns:
true if the action is NULL; used in the Table Designer for temporarily collecting actions that have no effect at all.

Definition at line 169 of file alter.h.

void KexiDB::AlterTableHandler::ActionBase::setAlteringRequirements ( int  alteringRequirements  )  [inline, protected]

Sets requirements for altering; used internally by AlterTableHandler object.

Definition at line 193 of file alter.h.


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