QtBase  v6.3.1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
QObjectPrivate::ConnectionData Struct Reference

#include <qobject_p.h>

Collaboration diagram for QObjectPrivate::ConnectionData:
Collaboration graph
[legend]

Public Types

enum  LockPolicy { NeedToLock , AlreadyLockedAndTemporarilyReleasingLock }
 

Public Member Functions

 ~ConnectionData ()
 
void removeConnection (Connection *c)
 
void cleanOrphanedConnections (QObject *sender, LockPolicy lockPolicy=NeedToLock)
 
void cleanOrphanedConnectionsImpl (QObject *sender, LockPolicy lockPolicy)
 
ConnectionListconnectionsForSignal (int signal)
 
void resizeSignalVector (uint size)
 
int signalVectorCount () const
 

Static Public Member Functions

static void deleteOrphaned (ConnectionOrSignalVector *c)
 

Public Attributes

QAtomicInteger< uintcurrentConnectionId
 
QAtomicInt ref
 
QAtomicPointer< SignalVectorsignalVector
 
Connectionsenders = nullptr
 
SendercurrentSender = nullptr
 
QAtomicPointer< Connectionorphaned
 

Detailed Description

Definition at line 261 of file qobject_p.h.

Member Enumeration Documentation

◆ LockPolicy

Enumerator
NeedToLock 
AlreadyLockedAndTemporarilyReleasingLock 

Definition at line 287 of file qobject_p.h.

Constructor & Destructor Documentation

◆ ~ConnectionData()

QObjectPrivate::ConnectionData::~ConnectionData ( )
inline

Definition at line 271 of file qobject_p.h.

Here is the call graph for this function:

Member Function Documentation

◆ cleanOrphanedConnections()

void QObjectPrivate::ConnectionData::cleanOrphanedConnections ( QObject sender,
LockPolicy  lockPolicy = NeedToLock 
)
inline

Definition at line 294 of file qobject_p.h.

Here is the call graph for this function:

◆ cleanOrphanedConnectionsImpl()

void QObjectPrivate::ConnectionData::cleanOrphanedConnectionsImpl ( QObject sender,
LockPolicy  lockPolicy 
)

Definition at line 407 of file qobject.cpp.

◆ connectionsForSignal()

ConnectionList& QObjectPrivate::ConnectionData::connectionsForSignal ( int  signal)
inline

Definition at line 301 of file qobject_p.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteOrphaned()

void QObjectPrivate::ConnectionData::deleteOrphaned ( QObjectPrivate::ConnectionOrSignalVector o)
static

Definition at line 435 of file qobject.cpp.

Here is the call graph for this function:

◆ removeConnection()

void QObjectPrivate::ConnectionData::removeConnection ( QObjectPrivate::Connection c)

Definition at line 341 of file qobject.cpp.

Here is the call graph for this function:

◆ resizeSignalVector()

void QObjectPrivate::ConnectionData::resizeSignalVector ( uint  size)
inline

Definition at line 306 of file qobject_p.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ signalVectorCount()

int QObjectPrivate::ConnectionData::signalVectorCount ( ) const
inline

Definition at line 341 of file qobject_p.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ currentConnectionId

QAtomicInteger<uint> QObjectPrivate::ConnectionData::currentConnectionId

Definition at line 264 of file qobject_p.h.

◆ currentSender

Sender* QObjectPrivate::ConnectionData::currentSender = nullptr

Definition at line 268 of file qobject_p.h.

◆ orphaned

QAtomicPointer<Connection> QObjectPrivate::ConnectionData::orphaned

Definition at line 269 of file qobject_p.h.

◆ ref

QAtomicInt QObjectPrivate::ConnectionData::ref

Definition at line 265 of file qobject_p.h.

◆ senders

Connection* QObjectPrivate::ConnectionData::senders = nullptr

Definition at line 267 of file qobject_p.h.

◆ signalVector

QAtomicPointer<SignalVector> QObjectPrivate::ConnectionData::signalVector

Definition at line 266 of file qobject_p.h.


The documentation for this struct was generated from the following files: