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 |
Definition at line 406 of file TGQt.cxx.
TQWidgetCollection::TQWidgetCollection | ( | ) | [inline] |
Definition at line 426 of file TGQt.cxx.
References fWidgetCollection, kDefault, kNone, and SetMaxId().
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] |
uint TQWidgetCollection::MaxId | ( | ) | const [inline] |
uint TQWidgetCollection::MaxTotalId | ( | ) | const [inline] |
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] |
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] |