40 operator const QObject*()
const {
return sender_; }
43 QObject*
operator=(QObject* qo) {
set( qo );
return qo;}
48 void set(QObject* qo);
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Locks the lock, shutting out access from other threads if needed.
Definition: threadlock.h:85
QObject * operator=(QObject *qo)
Definition: i_qptr.h:43
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
Notifier< i_QPtrImpl > notifier_
Definition: i_qptr.h:32
Threads::Lock & objLock()
Definition: i_qptr.h:45
Helper class for QPtr to relay Qt's messages. Internal object, to hide Qt's signal/slot mechanism...
Definition: i_qptr.h:26
Threads::Lock lock_
Definition: i_qptr.h:33
const QObject * ptr() const
Definition: i_qptr.h:36
i_QPtrImpl(QObject *sndr=0)
QObject * operator->() const
Definition: i_qptr.h:42
QObject * operator->()
Definition: i_qptr.h:41
QObject * ptr()
Definition: i_qptr.h:35
void trigger(T &t)
Definition: callback.h:258
QObject * sender_
Definition: i_qptr.h:54
void destroyed(QObject *)
Definition: i_qptr.h:58