#include <commands.h>
Collaboration diagram for EditorChangeGridRectCommand: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 |
| Editor * | editor |
| QRect | gridRect_new |
| QRect | gridRect_old |
Definition at line 334 of file commands.h.
| 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:| 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:int EditorChangeGridRectCommand::border_new [private] |
Definition at line 344 of file commands.h.
Referenced by redo().
int EditorChangeGridRectCommand::border_old [private] |
Definition at line 344 of file commands.h.
Referenced by undo().
Editor* EditorChangeGridRectCommand::editor [private] |
Definition at line 342 of file commands.h.
QRect EditorChangeGridRectCommand::gridRect_new [private] |
Definition at line 343 of file commands.h.
Referenced by redo().
QRect EditorChangeGridRectCommand::gridRect_old [private] |
Definition at line 343 of file commands.h.
Referenced by undo().
1.7.0