Public Member Functions | Private Attributes

GeneratedGraphAddCommand Class Reference

#include <commands.h>

Collaboration diagram for GeneratedGraphAddCommand:

List of all members.

Public Member Functions

 GeneratedGraphAddCommand (Editor *editor, const QList< State * > &stateList, QRect gr_new, QUndoCommand *parent=0)
 ~GeneratedGraphAddCommand ()
void redo ()
void undo ()

Private Attributes

Editoreditor
QRect gridRect_new
QRect gridRect_old
QList< State * > stateList
bool wasUndo

Detailed Description

Definition at line 517 of file commands.h.


Constructor & Destructor Documentation

GeneratedGraphAddCommand::GeneratedGraphAddCommand ( Editor editor,
const QList< State * > &  stateList,
QRect  gr_new,
QUndoCommand *  parent = 0 
)

Definition at line 1240 of file commands.cpp.

References Editor::getGridRect(), and gridRect_old.

Here is the call graph for this function:

GeneratedGraphAddCommand::~GeneratedGraphAddCommand (  ) 

Definition at line 1248 of file commands.cpp.

References stateList, and wasUndo.


Member Function Documentation

void GeneratedGraphAddCommand::redo (  ) 
void GeneratedGraphAddCommand::undo (  ) 

Member Data Documentation

Definition at line 528 of file commands.h.

Definition at line 531 of file commands.h.

Referenced by redo(), and undo().

Definition at line 531 of file commands.h.

Referenced by GeneratedGraphAddCommand(), redo(), and undo().

Definition at line 529 of file commands.h.

Referenced by redo(), undo(), and ~GeneratedGraphAddCommand().

Definition at line 532 of file commands.h.

Referenced by redo(), undo(), and ~GeneratedGraphAddCommand().


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