TQUndoManager Class Reference

#include <TQCommand.h>

Inheritance diagram for TQUndoManager:

TQCommand TQCommand TQObject TList TQObject TList TQObject TList TQObject TList List of all members.

Public Member Functions

 TQUndoManager ()
virtual ~TQUndoManager ()
virtual void Add (TObject *obj, Option_t *opt)
virtual void Add (TObject *obj)
virtual void Redo (Option_t *option="")
virtual void Undo (Option_t *option="")
virtual Bool_t CanRedo () const
virtual Bool_t CanUndo () const
virtual void SetLogging (Bool_t on=kTRUE)
Bool_t IsLogging () const
TQCommandGetCurrent () const
TQCommandGetCursor () const
UInt_t GetLimit () const
virtual void SetLimit (UInt_t limit)
virtual void CurrentChanged (TQCommand *c)
virtual void ls (Option_t *option="") const
 TQUndoManager ()
virtual ~TQUndoManager ()
virtual void Add (TObject *obj, Option_t *opt)
virtual void Add (TObject *obj)
virtual void Redo (Option_t *option="")
virtual void Undo (Option_t *option="")
virtual Bool_t CanRedo () const
virtual Bool_t CanUndo () const
virtual void SetLogging (Bool_t on=kTRUE)
Bool_t IsLogging () const
TQCommandGetCurrent () const
TQCommandGetCursor () const
UInt_t GetLimit () const
virtual void SetLimit (UInt_t limit)
virtual void CurrentChanged (TQCommand *c)
virtual void ls (Option_t *option="") const

Protected Member Functions

virtual void PrintCollectionEntry (TObject *entry, Option_t *option, Int_t recurse) const
virtual void PrintCollectionEntry (TObject *entry, Option_t *option, Int_t recurse) const

Protected Attributes

TObjLinkfCursor
TQCommandfCurrent
UInt_t fLimit
TListfLogBook
Bool_t fLogging
TObjLinkfCursor
TQCommandfCurrent
TListfLogBook

Detailed Description

Definition at line 101 of file TQCommand.h.


Constructor & Destructor Documentation

TQUndoManager::TQUndoManager (  ) 

Definition at line 926 of file TQCommand.cxx.

References fCurrent, fCursor, fLimit, fLogBook, fLogging, kFALSE, and kMaxUInt.

TQUndoManager::~TQUndoManager (  )  [virtual]

Definition at line 938 of file TQCommand.cxx.

References TQCommand::Delete(), and fLogBook.

TQUndoManager::TQUndoManager (  ) 

virtual TQUndoManager::~TQUndoManager (  )  [virtual]


Member Function Documentation

void TQUndoManager::PrintCollectionEntry ( TObject entry,
Option_t option,
Int_t  recurse 
) const [protected, virtual]

Reimplemented from TCollection.

Definition at line 970 of file TQCommand.cxx.

References entry, fCursor, TObjLink::GetObject(), TROOT::IndentLevel(), and TQCommand::ls().

void TQUndoManager::Add ( TObject obj,
Option_t opt 
) [virtual]

Reimplemented from TQCommand.

Definition at line 1003 of file TQCommand.cxx.

References TList::AddLast(), c, xmlio::Class, TString::Contains(), TString::Data(), fCurrent, fCursor, TList::fFirst, TList::fLast, fLimit, TCollection::fSize, TQCommand::fState, GetCursor(), TObjLink::GetObject(), TObjLink::Next(), o, Redo(), and TList::Remove().

Referenced by Add().

virtual void TQUndoManager::Add ( TObject obj  )  [inline, virtual]

Reimplemented from TQCommand.

Definition at line 117 of file TQCommand.h.

References Add().

void TQUndoManager::Redo ( Option_t option = ""  )  [virtual]

Reimplemented from TQCommand.

Definition at line 1102 of file TQCommand.cxx.

References TList::Add(), c, CanRedo(), CurrentChanged(), fCurrent, fCursor, TList::fLast, fLogBook, fLogging, TQCommand::fState, TObjLink::GetObject(), kFALSE, kTRUE, TObjLink::Next(), TQCommand::Redo(), and TQCommand::TQCommand().

Referenced by Add().

void TQUndoManager::Undo ( Option_t option = ""  )  [virtual]

Reimplemented from TQCommand.

Definition at line 1070 of file TQCommand.cxx.

References TList::Add(), c, CanUndo(), CurrentChanged(), fCurrent, fCursor, TList::fFirst, fLogBook, fLogging, TQCommand::fState, TObjLink::GetObject(), kFALSE, kTRUE, TObjLink::Prev(), TQCommand::TQCommand(), and TQCommand::Undo().

Bool_t TQUndoManager::CanRedo (  )  const [virtual]

Reimplemented from TQCommand.

Definition at line 1134 of file TQCommand.cxx.

References c, fCursor, TObjLink::GetObject(), kFALSE, kTRUE, and TObjLink::Next().

Referenced by Redo().

Bool_t TQUndoManager::CanUndo (  )  const [virtual]

Reimplemented from TQCommand.

Definition at line 1148 of file TQCommand.cxx.

References c, fCursor, TObjLink::GetObject(), kFALSE, kTRUE, and TObjLink::Prev().

Referenced by Undo().

void TQUndoManager::SetLogging ( Bool_t  on = kTRUE  )  [virtual]

Definition at line 986 of file TQCommand.cxx.

References fLogBook, fLogging, and TList::TList().

Bool_t TQUndoManager::IsLogging (  )  const

Definition at line 1162 of file TQCommand.cxx.

References fLogging.

TQCommand * TQUndoManager::GetCurrent (  )  const

Definition at line 1170 of file TQCommand.cxx.

References fCurrent.

TQCommand * TQUndoManager::GetCursor (  )  const

Definition at line 1178 of file TQCommand.cxx.

References fCursor, and TObjLink::GetObject().

Referenced by Add().

UInt_t TQUndoManager::GetLimit (  )  const

Definition at line 1194 of file TQCommand.cxx.

References fLimit.

void TQUndoManager::SetLimit ( UInt_t  limit  )  [virtual]

Definition at line 1186 of file TQCommand.cxx.

References fLimit.

void TQUndoManager::CurrentChanged ( TQCommand c  )  [virtual]

Definition at line 1062 of file TQCommand.cxx.

References c, and TQObject::Emit().

Referenced by Redo(), and Undo().

void TQUndoManager::ls ( Option_t option = ""  )  const [virtual]

Reimplemented from TQCommand.

Definition at line 950 of file TQCommand.cxx.

References fCursor, TList::fFirst, TObjLink::GetObject(), TCollection::IsEmpty(), TQCommand::ls(), and TObjLink::Next().

virtual void TQUndoManager::PrintCollectionEntry ( TObject entry,
Option_t option,
Int_t  recurse 
) const [protected, virtual]

Reimplemented from TCollection.

virtual void TQUndoManager::Add ( TObject obj,
Option_t opt 
) [virtual]

Reimplemented from TQCommand.

virtual void TQUndoManager::Add ( TObject obj  )  [inline, virtual]

Reimplemented from TQCommand.

Definition at line 117 of file TQCommand.h.

References Add().

virtual void TQUndoManager::Redo ( Option_t option = ""  )  [virtual]

Reimplemented from TQCommand.

virtual void TQUndoManager::Undo ( Option_t option = ""  )  [virtual]

Reimplemented from TQCommand.

virtual Bool_t TQUndoManager::CanRedo (  )  const [virtual]

Reimplemented from TQCommand.

virtual Bool_t TQUndoManager::CanUndo (  )  const [virtual]

Reimplemented from TQCommand.

virtual void TQUndoManager::SetLogging ( Bool_t  on = kTRUE  )  [virtual]

Bool_t TQUndoManager::IsLogging (  )  const

TQCommand* TQUndoManager::GetCurrent (  )  const

TQCommand* TQUndoManager::GetCursor (  )  const

UInt_t TQUndoManager::GetLimit (  )  const

virtual void TQUndoManager::SetLimit ( UInt_t  limit  )  [virtual]

virtual void TQUndoManager::CurrentChanged ( TQCommand c  )  [virtual]

virtual void TQUndoManager::ls ( Option_t option = ""  )  const [virtual]

Reimplemented from TQCommand.


Member Data Documentation

TObjLink* TQUndoManager::fCursor [protected]

Definition at line 104 of file TQCommand.h.

Referenced by Add(), CanRedo(), CanUndo(), GetCursor(), ls(), PrintCollectionEntry(), Redo(), TQUndoManager(), and Undo().

TQCommand* TQUndoManager::fCurrent [protected]

Definition at line 105 of file TQCommand.h.

Referenced by Add(), GetCurrent(), Redo(), TQUndoManager(), and Undo().

UInt_t TQUndoManager::fLimit [protected]

Definition at line 106 of file TQCommand.h.

Referenced by Add(), GetLimit(), SetLimit(), and TQUndoManager().

TList* TQUndoManager::fLogBook [protected]

Definition at line 107 of file TQCommand.h.

Referenced by Redo(), SetLogging(), TQUndoManager(), Undo(), and ~TQUndoManager().

Bool_t TQUndoManager::fLogging [protected]

Definition at line 108 of file TQCommand.h.

Referenced by IsLogging(), Redo(), SetLogging(), TQUndoManager(), and Undo().

TObjLink* TQUndoManager::fCursor [protected]

Definition at line 104 of file TQCommand.h.

TQCommand* TQUndoManager::fCurrent [protected]

Definition at line 105 of file TQCommand.h.

TList* TQUndoManager::fLogBook [protected]

Definition at line 107 of file TQCommand.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:58 2011 for ROOT_528-00b_version by  doxygen 1.5.1