kexi
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 QString | name () const |
virtual void | execute () |
virtual void | unexecute () |
Protected Attributes | |
KexiDB::AlterTableHandler::ChangeFieldPropertyAction | m_alterTableAction |
bool | m_oldVisibility |
Constructor & Destructor Documentation
ChangePropertyVisibilityCommand::ChangePropertyVisibilityCommand | ( | KexiTableDesignerView * | view, | |
const KoProperty::Set & | set, | |||
const QCString & | propertyName, | |||
bool | visible | |||
) |
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.
The documentation for this class was generated from the following files: