TQWidgetCollection Class Reference

List of all members.

Public Member Functions

 TQWidgetCollection ()
Int_t GetFreeId (QPaintDevice *device)
Int_t RemoveByPointer (QPaintDevice *device)
const QPaintDevice * DeleteById (Int_t Id)
const QPaintDevice * ReplaceById (Int_t Id, QPaintDevice *newDev)
uint count () const
uint MaxId () const
uint MaxTotalId () const
int find (const QPaintDevice *device, uint i=0) const
QPaintDevice * operator[] (int i) const

Protected Member Functions

Int_t SetMaxId (Int_t newId)

Private Attributes

QStack< int > fFreeWindowsIdStack
QVector< QPaintDevice * > fWidgetCollection
Int_t fIDMax
Int_t fIDTotalMax

Detailed Description

Definition at line 406 of file TGQt.cxx.


Constructor & Destructor Documentation

TQWidgetCollection::TQWidgetCollection (  )  [inline]

Definition at line 426 of file TGQt.cxx.

References fWidgetCollection, kDefault, kNone, and SetMaxId().


Member Function Documentation

Int_t TQWidgetCollection::SetMaxId ( Int_t  newId  )  [inline, protected]

Definition at line 414 of file TGQt.cxx.

References fIDMax, fIDTotalMax, and fWidgetCollection.

Referenced by DeleteById(), GetFreeId(), RemoveByPointer(), and TQWidgetCollection().

Int_t TQWidgetCollection::GetFreeId ( QPaintDevice *  device  )  [inline]

Definition at line 438 of file TGQt.cxx.

References fFreeWindowsIdStack, fIDMax, fWidgetCollection, and SetMaxId().

Referenced by TGQt::InitWindow(), TGQt::OpenPixmap(), TGQt::ReadGIF(), and TGQt::RegisterWid().

Int_t TQWidgetCollection::RemoveByPointer ( QPaintDevice *  device  )  [inline]

Definition at line 454 of file TGQt.cxx.

References fFreeWindowsIdStack, fIDMax, find(), fWidgetCollection, kNone, and SetMaxId().

Referenced by TGQt::UnRegisterWid().

const QPaintDevice* TQWidgetCollection::DeleteById ( Int_t  Id  )  [inline]

Definition at line 473 of file TGQt.cxx.

References fFreeWindowsIdStack, fIDMax, fWidgetCollection, and SetMaxId().

Referenced by TGQt::ReadGIF(), and ReplaceById().

const QPaintDevice* TQWidgetCollection::ReplaceById ( Int_t  Id,
QPaintDevice *  newDev 
) [inline]

Definition at line 486 of file TGQt.cxx.

References DeleteById(), and fWidgetCollection.

Referenced by TGQt::ResizePixmap().

uint TQWidgetCollection::count (  )  const [inline]

Definition at line 500 of file TGQt.cxx.

References fWidgetCollection.

uint TQWidgetCollection::MaxId (  )  const [inline]

Definition at line 502 of file TGQt.cxx.

References fIDMax.

Referenced by TGQt::iwid().

uint TQWidgetCollection::MaxTotalId (  )  const [inline]

Definition at line 504 of file TGQt.cxx.

References fIDTotalMax.

Referenced by TGQt::iwid().

int TQWidgetCollection::find ( const QPaintDevice *  device,
uint  i = 0 
) const [inline]

Definition at line 506 of file TGQt.cxx.

References fWidgetCollection, and i.

Referenced by TGQt::IsRegistered(), TGQt::iwid(), TGQt::RegisterWid(), and RemoveByPointer().

QPaintDevice* TQWidgetCollection::operator[] ( int  i  )  const [inline]

Definition at line 511 of file TGQt.cxx.

References fWidgetCollection.


Member Data Documentation

QStack<int> TQWidgetCollection::fFreeWindowsIdStack [private]

Definition at line 408 of file TGQt.cxx.

Referenced by DeleteById(), GetFreeId(), and RemoveByPointer().

QVector<QPaintDevice *> TQWidgetCollection::fWidgetCollection [private]

Definition at line 409 of file TGQt.cxx.

Referenced by count(), DeleteById(), find(), GetFreeId(), operator[](), RemoveByPointer(), ReplaceById(), SetMaxId(), and TQWidgetCollection().

Int_t TQWidgetCollection::fIDMax [private]

Definition at line 410 of file TGQt.cxx.

Referenced by DeleteById(), GetFreeId(), MaxId(), RemoveByPointer(), and SetMaxId().

Int_t TQWidgetCollection::fIDTotalMax [private]

Definition at line 411 of file TGQt.cxx.

Referenced by MaxTotalId(), and SetMaxId().


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