karbon

VAlignCmd Class Reference

Inheritance diagram for VAlignCmd:

VCommand VVisitor

List of all members.


Detailed Description

Definition at line 30 of file valigncmd.h.


Public Types

enum  Align {
  ALIGN_HORIZONTAL_LEFT, ALIGN_HORIZONTAL_CENTER, ALIGN_HORIZONTAL_RIGHT, ALIGN_VERTICAL_BOTTOM,
  ALIGN_VERTICAL_CENTER, ALIGN_VERTICAL_TOP
}

Public Member Functions

 VAlignCmd (VDocument *doc, Align align)
virtual ~VAlignCmd ()
virtual void execute ()
virtual void unexecute ()

Protected Attributes

Align m_align
QPtrList< VTranslateCmd > m_trafoCmds

Member Enumeration Documentation

Enumerator:
ALIGN_HORIZONTAL_LEFT 
ALIGN_HORIZONTAL_CENTER 
ALIGN_HORIZONTAL_RIGHT 
ALIGN_VERTICAL_BOTTOM 
ALIGN_VERTICAL_CENTER 
ALIGN_VERTICAL_TOP 

Definition at line 33 of file valigncmd.h.


Member Function Documentation

void VAlignCmd::execute (  )  [virtual]

Executes the command.

All the changes to the document are done here. All commands have to implement this function.

Implements VCommand.

Definition at line 41 of file valigncmd.cc.

void VAlignCmd::unexecute (  )  [virtual]

Unexecutes the command.

All changes to the document have to be undone here.

Reimplemented from VCommand.

Definition at line 80 of file valigncmd.cc.


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