OpendTect  7.0
Public Member Functions | Public Attributes | Private Slots | Private Attributes | List of all members
i_QPtrImpl Class Reference

Helper class for QPtr to relay Qt's messages. Internal object, to hide Qt's signal/slot mechanism. More...

Inheritance diagram for i_QPtrImpl:
[legend]

Public Member Functions

 i_QPtrImpl (QObject *sndr=0)
 
 ~i_QPtrImpl ()
 
Threads::LockobjLock ()
 
 operator const QObject * () const
 
 operator QObject * ()
 
QObject * operator-> ()
 
QObject * operator-> () const
 
QObject * operator= (QObject *qo)
 
QObject * ptr ()
 
const QObject * ptr () const
 
void set (QObject *qo)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Public Attributes

Threads::Lock lock_
 
Notifier< i_QPtrImplnotifier_
 

Private Slots

void destroyed (QObject *)
 

Private Attributes

QObject * sender_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Helper class for QPtr to relay Qt's messages. Internal object, to hide Qt's signal/slot mechanism.

Constructor & Destructor Documentation

◆ i_QPtrImpl()

i_QPtrImpl::i_QPtrImpl ( QObject *  sndr = 0)

◆ ~i_QPtrImpl()

i_QPtrImpl::~i_QPtrImpl ( )

Member Function Documentation

◆ destroyed

void i_QPtrImpl::destroyed ( QObject *  )
inlineprivateslot

◆ objLock()

Threads::Lock& i_QPtrImpl::objLock ( )
inline

◆ operator const QObject *()

i_QPtrImpl::operator const QObject * ( ) const
inline

◆ operator QObject *()

i_QPtrImpl::operator QObject * ( )
inline

◆ operator->() [1/2]

QObject* i_QPtrImpl::operator-> ( )
inline

◆ operator->() [2/2]

QObject* i_QPtrImpl::operator-> ( ) const
inline

◆ operator=()

QObject* i_QPtrImpl::operator= ( QObject *  qo)
inline

◆ ptr() [1/2]

QObject* i_QPtrImpl::ptr ( )
inline

◆ ptr() [2/2]

const QObject* i_QPtrImpl::ptr ( ) const
inline

◆ set()

void i_QPtrImpl::set ( QObject *  qo)

Member Data Documentation

◆ lock_

Threads::Lock i_QPtrImpl::lock_

◆ notifier_

Notifier<i_QPtrImpl> i_QPtrImpl::notifier_

◆ sender_

QObject* i_QPtrImpl::sender_
private

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024