Public Member Functions | Private Attributes

StateEditCommand Class Reference

#include <commands.h>

Collaboration diagram for StateEditCommand:

List of all members.

Public Member Functions

 StateEditCommand (Editor *editor, State *state, QString label, QString name, bool db, bool dimmed, bool autoNammed, QUndoCommand *parent=0)
void redo ()
void undo ()

Private Attributes

bool an_new
bool an_old
bool db_new
bool db_old
bool dimmed_new
bool dimmed_old
Editoreditor
QString label_new
QString label_old
QString name_new
QString name_old
Statestate

Detailed Description

Definition at line 85 of file commands.h.


Constructor & Destructor Documentation

StateEditCommand::StateEditCommand ( Editor editor,
State state,
QString  label,
QString  name,
bool  db,
bool  dimmed,
bool  autoNammed,
QUndoCommand *  parent = 0 
)

Definition at line 184 of file commands.cpp.

References an_old, db_old, dimmed_old, State::getLabel(), State::getName(), State::isAutoNammed(), State::isDimmed(), State::isDoubleBorder(), label_old, and name_old.

Here is the call graph for this function:


Member Function Documentation

void StateEditCommand::redo (  ) 
void StateEditCommand::undo (  ) 

Member Data Documentation

bool StateEditCommand::an_new [private]

Definition at line 101 of file commands.h.

Referenced by redo().

bool StateEditCommand::an_old [private]

Definition at line 101 of file commands.h.

Referenced by StateEditCommand(), and undo().

bool StateEditCommand::db_new [private]

Definition at line 99 of file commands.h.

Referenced by redo().

bool StateEditCommand::db_old [private]

Definition at line 99 of file commands.h.

Referenced by StateEditCommand(), and undo().

Definition at line 100 of file commands.h.

Referenced by redo().

Definition at line 100 of file commands.h.

Referenced by StateEditCommand(), and undo().

Definition at line 94 of file commands.h.

Referenced by redo(), and undo().

QString StateEditCommand::label_new [private]

Definition at line 97 of file commands.h.

Referenced by redo().

QString StateEditCommand::label_old [private]

Definition at line 97 of file commands.h.

Referenced by StateEditCommand(), and undo().

QString StateEditCommand::name_new [private]

Definition at line 98 of file commands.h.

Referenced by redo().

QString StateEditCommand::name_old [private]

Definition at line 98 of file commands.h.

Referenced by StateEditCommand(), and undo().

Definition at line 95 of file commands.h.

Referenced by redo(), and undo().


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