TinkerCell Core 1.0
TinkerCell's Core library providing all basic functionalities
Public Member Functions
Tinkercell::InsertHandlesCommand Class Reference

this command inserts new handles to a NetworkHandle More...

#include <UndoCommands.h>

Inheritance diagram for Tinkercell::InsertHandlesCommand:
Inheritance graph
[legend]
Collaboration diagram for Tinkercell::InsertHandlesCommand:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 InsertHandlesCommand (TextEditor *, const QList< ItemHandle * > &, bool checkNames=true)
 constructor
 InsertHandlesCommand (TextEditor *, ItemHandle *, bool checkNames=true)
 constructor
 ~InsertHandlesCommand ()
 destructor. deletes all text items and their handles (if not containing any graphics items)
void redo ()
 redo the change
void undo ()
 undo the change

Detailed Description

this command inserts new handles to a NetworkHandle

Definition at line 50 of file UndoCommands.h.


Constructor & Destructor Documentation

Tinkercell::InsertHandlesCommand::InsertHandlesCommand ( TextEditor textEditor,
const QList< ItemHandle * > &  list,
bool  checkNames = true 
)

constructor

Parameters:
NetworkHandle*window where items are inserted
QList<ItemHandle*>new items
boolcheck for uniqueness of names before inserting

Definition at line 265 of file UndoCommands.cpp.

Tinkercell::InsertHandlesCommand::InsertHandlesCommand ( TextEditor textEditor,
ItemHandle h,
bool  checkNames = true 
)

constructor

Parameters:
NetworkHandle*window where items are inserted
ItemHandle*new item
boolcheck for uniqueness of names before inserting

Definition at line 282 of file UndoCommands.cpp.

Tinkercell::InsertHandlesCommand::~InsertHandlesCommand ( )

destructor. deletes all text items and their handles (if not containing any graphics items)

Definition at line 252 of file UndoCommands.cpp.


Member Function Documentation

void Tinkercell::InsertHandlesCommand::redo ( )

redo the change

Definition at line 297 of file UndoCommands.cpp.

Here is the call graph for this function:

void Tinkercell::InsertHandlesCommand::undo ( )

undo the change

Definition at line 369 of file UndoCommands.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines