#include <TQtClientGuard.h>
Public Member Functions | |
| TQtClientGuard () | |
| virtual | ~TQtClientGuard () |
| TQtClientWidget * | Create (QWidget *parent=0, const char *name=0, Qt::WFlags f=0) |
| void | Delete (QWidget *w) |
| QWidget * | Find (Window_t id) |
| void | Add (QWidget *w) |
Protected Slots | |
| void | Disconnect () |
Protected Member Functions | |
| void | Disconnect (QWidget *w, int found=-1) |
| void | DisconnectChildren (TQtClientWidget *w) |
Private Member Functions | |
| TQtClientGuard & | operator= (const TQtClientGuard &) |
Private Attributes | |
| QPtrList< QWidget > | fQClientGuard |
| int | fDeadCounter |
Friends | |
| class | TQtClientWidget |
Definition at line 26 of file TQtClientGuard.h.
| TQtClientGuard::TQtClientGuard | ( | ) | [inline] |
Definition at line 38 of file TQtClientGuard.h.
| virtual TQtClientGuard::~TQtClientGuard | ( | ) | [inline, virtual] |
Definition at line 39 of file TQtClientGuard.h.
| TQtClientGuard& TQtClientGuard::operator= | ( | const TQtClientGuard & | ) | [private] |
| TQtClientWidget * TQtClientGuard::Create | ( | QWidget * | parent = 0, |
|
| const char * | name = 0, |
|||
| Qt::WFlags | f = 0 | |||
| ) |
Definition at line 28 of file TQtClientGuard.cxx.
References Add(), TQtClientWidget, and w.
Referenced by TGQt::CreateWindow(), and TGQt::SendEvent().
| void TQtClientGuard::Delete | ( | QWidget * | w | ) |
Definition at line 37 of file TQtClientGuard.cxx.
References Disconnect(), and fQClientGuard.
Referenced by TGQt::DestroyWindow().
| QWidget * TQtClientGuard::Find | ( | Window_t | id | ) |
| void TQtClientGuard::Add | ( | QWidget * | w | ) |
Definition at line 20 of file TQtClientGuard.cxx.
References Disconnect(), and fQClientGuard.
Referenced by Create().
| void TQtClientGuard::Disconnect | ( | QWidget * | w, | |
| int | found = -1 | |||
| ) | [protected] |
Definition at line 56 of file TQtClientGuard.cxx.
References Disconnect(), fDeadCounter, fQClientGuard, gQt, gVirtualX, TGQt::IsRegistered(), TGQt::iwid(), and kFALSE.
| void TQtClientGuard::DisconnectChildren | ( | TQtClientWidget * | w | ) | [protected] |
Definition at line 84 of file TQtClientGuard.cxx.
References Disconnect(), and w.
Referenced by TQtClientWidget::~TQtClientWidget().
| void TQtClientGuard::Disconnect | ( | ) | [protected, slot] |
Definition at line 143 of file TQtClientGuard.cxx.
References fprintf(), fQClientGuard, and w.
Referenced by Add(), Delete(), Disconnect(), and DisconnectChildren().
friend class TQtClientWidget [friend] |
QPtrList<QWidget> TQtClientGuard::fQClientGuard [mutable, private] |
Definition at line 31 of file TQtClientGuard.h.
Referenced by Add(), Delete(), Disconnect(), and Find().
int TQtClientGuard::fDeadCounter [private] |
1.5.1