Public Member Functions | Private Attributes

EditorChangeGridRectCommand Class Reference

#include <commands.h>

Collaboration diagram for EditorChangeGridRectCommand:

List of all members.

Public Member Functions

 EditorChangeGridRectCommand (Editor *editor, QRect gridRect, int border, QUndoCommand *parent=0)
void redo ()
void undo ()

Private Attributes

int border_new
int border_old
Editoreditor
QRect gridRect_new
QRect gridRect_old

Detailed Description

Definition at line 334 of file commands.h.


Constructor & Destructor Documentation

EditorChangeGridRectCommand::EditorChangeGridRectCommand ( Editor editor,
QRect  gridRect,
int  border,
QUndoCommand *  parent = 0 
)

Definition at line 793 of file commands.cpp.

References Editor::getBorder(), and Editor::getGridRect().

Here is the call graph for this function:


Member Function Documentation

void EditorChangeGridRectCommand::redo (  ) 

Definition at line 807 of file commands.cpp.

References border_new, gridRect_new, Editor::setBorder(), and Editor::setGridRect().

Here is the call graph for this function:

void EditorChangeGridRectCommand::undo (  ) 

Definition at line 800 of file commands.cpp.

References border_old, gridRect_old, Editor::setBorder(), and Editor::setGridRect().

Here is the call graph for this function:


Member Data Documentation

Definition at line 344 of file commands.h.

Referenced by redo().

Definition at line 344 of file commands.h.

Referenced by undo().

Definition at line 342 of file commands.h.

Definition at line 343 of file commands.h.

Referenced by redo().

Definition at line 343 of file commands.h.

Referenced by undo().


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