#include <kexitabledesignercommands.h>
Public Member Functions | |
| RemoveFieldCommand (KexiTableDesignerView *view, int fieldIndex, const KoProperty::Set *set) | |
| virtual TQString | name () const |
| virtual void | execute () |
| virtual void | unexecute () |
| virtual KexiDB::AlterTableHandler::ActionBase * | createAction () |
| virtual TQString | debugString () |
Public Member Functions inherited from KexiTableDesignerCommands::Command | |
| Command (KexiTableDesignerView *view) | |
Protected Attributes | |
| KexiDB::AlterTableHandler::RemoveFieldAction | m_alterTableAction |
| KoProperty::Set * | m_set |
| int | m_fieldIndex |
Protected Attributes inherited from KexiTableDesignerCommands::Command | |
| TQGuardedPtr< KexiTableDesignerView > | m_view |
Detailed Description
Undo/redo command used when a field is removed from a table.
Definition at line 93 of file kexitabledesignercommands.h.
Constructor & Destructor Documentation
◆ RemoveFieldCommand()
| RemoveFieldCommand::RemoveFieldCommand | ( | KexiTableDesignerView * | view, |
| int | fieldIndex, | ||
| const KoProperty::Set * | set | ||
| ) |
Constructs RemoveFieldCommand object. If set is 0, the action only means removing empty row (internal).
Definition at line 121 of file kexitabledesignercommands.cpp.
◆ ~RemoveFieldCommand()
|
virtual |
Definition at line 131 of file kexitabledesignercommands.cpp.
Member Function Documentation
◆ 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 167 of file kexitabledesignercommands.cpp.
◆ debugString()
|
virtual |
Reimplemented from KexiTableDesignerCommands::Command.
Definition at line 157 of file kexitabledesignercommands.cpp.
◆ execute()
|
virtual |
Definition at line 144 of file kexitabledesignercommands.cpp.
◆ name()
|
virtual |
Definition at line 136 of file kexitabledesignercommands.cpp.
◆ unexecute()
|
virtual |
Definition at line 150 of file kexitabledesignercommands.cpp.
Member Data Documentation
◆ m_alterTableAction
|
protected |
Definition at line 111 of file kexitabledesignercommands.h.
◆ m_fieldIndex
|
protected |
Definition at line 113 of file kexitabledesignercommands.h.
◆ m_set
|
protected |
Definition at line 112 of file kexitabledesignercommands.h.
The documentation for this class was generated from the following files:

Public Member Functions inherited from