KexiTableDesignerCommands::ChangePropertyVisibilityCommand Class Reference
#include <kexitabledesignercommands.h>
Inheritance diagram for KexiTableDesignerCommands::ChangePropertyVisibilityCommand:

Detailed Description
Undo/redo command used when property visibility is changed.Internal, only used in addition to property change.
Definition at line 144 of file kexitabledesignercommands.h.
Public Member Functions | |
| ChangePropertyVisibilityCommand (KexiTableDesignerView *view, const KoProperty::Set &set, const QCString &propertyName, bool visible) | |
| virtual | ~ChangePropertyVisibilityCommand () |
| virtual QString | name () const |
| virtual void | execute () |
| virtual void | unexecute () |
Protected Attributes | |
| KexiDB::AlterTableHandler::ChangeFieldPropertyAction | m_alterTableAction |
| bool | m_oldVisibility |
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Creates the ChangePropertyVisibilityCommand object. Note: we use internal "uid" property of a field (set["uid"]) to avoid problems with looking for field by name when more than one field exists with the same name (it's invalid but allowed in design time). Definition at line 215 of file kexitabledesignercommands.cpp. References KexiTableDesignerCommands::Command::debugString(), and kexipluginsdbg. |
|
|
Definition at line 225 of file kexitabledesignercommands.cpp. |
Member Function Documentation
|
|
|
Definition at line 229 of file kexitabledesignercommands.cpp. References m_alterTableAction, m_oldVisibility, KexiDB::AlterTableHandler::ChangeFieldPropertyAction::newValue(), and KexiDB::AlterTableHandler::ChangeFieldPropertyAction::propertyName(). |
|
Member Data Documentation
|
|
Definition at line 163 of file kexitabledesignercommands.h. Referenced by execute(), name(), and unexecute(). |
|
|
Definition at line 165 of file kexitabledesignercommands.h. Referenced by name(), and unexecute(). |
The documentation for this class was generated from the following files:
