KFormDesigner::LayoutPropertyCommand Class Reference

#include <commands.h>

Inheritance diagram for KFormDesigner::LayoutPropertyCommand:
KFormDesigner::PropertyCommand KFormDesigner::Command

Public Member Functions

 LayoutPropertyCommand (WidgetPropertySet *set, const TQCString &wname, const TQVariant &oldValue, const TQVariant &value)
 
virtual void execute ()
 
virtual void unexecute ()
 
virtual TQString name () const
 
virtual void debug ()
 
- Public Member Functions inherited from KFormDesigner::PropertyCommand
 PropertyCommand (WidgetPropertySet *set, const TQCString &wname, const TQVariant &oldValue, const TQVariant &value, const TQCString &property)
 
 PropertyCommand (WidgetPropertySet *set, const TQMap< TQCString, TQVariant > &oldvalues, const TQVariant &value, const TQCString &property)
 
TQCString property () const
 
void setValue (const TQVariant &value)
 
const TQMap< TQCString, TQVariant > & oldValues () const
 

Protected Attributes

Form * m_form
 
TQMap< TQCString, TQRect > m_geometries
 
- Protected Attributes inherited from KFormDesigner::PropertyCommand
WidgetPropertySet * m_propSet
 
TQVariant m_value
 
TQMap< TQCString, TQVariant > m_oldvalues
 
TQCString m_property
 

Detailed Description

This command is used when switching the layout of a Container. It remembers the old pos of every widget inside the Container.

Definition at line 155 of file commands.h.

Constructor & Destructor Documentation

◆ LayoutPropertyCommand()

LayoutPropertyCommand::LayoutPropertyCommand ( WidgetPropertySet *  set,
const TQCString &  wname,
const TQVariant &  oldValue,
const TQVariant &  value 
)

Definition at line 615 of file commands.cpp.

Member Function Documentation

◆ debug()

void LayoutPropertyCommand::debug ( )
virtual

Reimplemented from KFormDesigner::PropertyCommand.

Definition at line 662 of file commands.cpp.

◆ execute()

void LayoutPropertyCommand::execute ( )
virtual

Reimplemented from KFormDesigner::PropertyCommand.

Definition at line 630 of file commands.cpp.

◆ name()

TQString LayoutPropertyCommand::name ( ) const
virtual

Reimplemented from KFormDesigner::PropertyCommand.

Definition at line 656 of file commands.cpp.

◆ unexecute()

void LayoutPropertyCommand::unexecute ( )
virtual

Reimplemented from KFormDesigner::PropertyCommand.

Definition at line 636 of file commands.cpp.

Member Data Documentation

◆ m_form

Form* KFormDesigner::LayoutPropertyCommand::m_form
protected

Definition at line 167 of file commands.h.

◆ m_geometries

TQMap<TQCString,TQRect> KFormDesigner::LayoutPropertyCommand::m_geometries
protected

Definition at line 168 of file commands.h.


The documentation for this class was generated from the following files: