#include <TQtEvent.h>
Public Member Functions | |
TQtEvent (int code) | |
TQtEvent (QObject *o, QEvent *e) | |
virtual | ~TQtEvent () |
void | SetWait (TWaitCondition &condition, unsigned long &result) |
void | SetWait (TWaitCondition &condition) |
void | SetResult (unsigned long e=0) |
bool | Notify () |
virtual void | ExecuteCB () |
Private Attributes | |
TWaitCondition * | fCondition |
unsigned long * | fResult |
QObject * | fReceiver |
QEvent * | fThatEvent |
Definition at line 21 of file TQtEvent.h.
TQtEvent::TQtEvent | ( | int | code | ) |
Definition at line 25 of file TQtEvent.cxx.
TQtEvent::TQtEvent | ( | QObject * | o, | |
QEvent * | e | |||
) |
Definition at line 29 of file TQtEvent.cxx.
virtual TQtEvent::~TQtEvent | ( | ) | [inline, virtual] |
Definition at line 33 of file TQtEvent.h.
void TQtEvent::SetWait | ( | TWaitCondition & | condition, | |
unsigned long & | result | |||
) |
void TQtEvent::SetWait | ( | TWaitCondition & | condition | ) |
void TQtEvent::SetResult | ( | unsigned long | e = 0 |
) |
Definition at line 44 of file TQtEvent.cxx.
References fCondition, fResult, and TWaitCondition::wakeOne().
Referenced by Notify().
bool TQtEvent::Notify | ( | ) |
Definition at line 33 of file TQtEvent.cxx.
References FALSE, fReceiver, fThatEvent, and SetResult().
virtual void TQtEvent::ExecuteCB | ( | ) | [inline, virtual] |
Definition at line 39 of file TQtEvent.h.
TWaitCondition* TQtEvent::fCondition [private] |
unsigned long* TQtEvent::fResult [private] |
QObject* TQtEvent::fReceiver [private] |
QEvent* TQtEvent::fThatEvent [private] |