Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtPrivate::QSlotObjectBase Class Reference

#include <qobjectdefs_impl.h>

+ Inheritance diagram for QtPrivate::QSlotObjectBase:
+ Collaboration diagram for QtPrivate::QSlotObjectBase:

Public Member Functions

 QSlotObjectBase (ImplFn fn)
 
int ref () noexcept
 
void destroyIfLastRef () noexcept
 
bool compare (void **a)
 
void call (QObject *r, void **a)
 
bool isImpl (ImplFn f) const
 

Protected Types

enum  Operation { Destroy , Call , Compare , NumOperations }
 

Protected Member Functions

 ~QSlotObjectBase ()
 

Detailed Description

Definition at line 388 of file qobjectdefs_impl.h.

Member Enumeration Documentation

◆ Operation

Enumerator
Destroy 
Call 
Compare 
NumOperations 

Definition at line 406 of file qobjectdefs_impl.h.

Constructor & Destructor Documentation

◆ QSlotObjectBase()

QtPrivate::QSlotObjectBase::QSlotObjectBase ( ImplFn  fn)
inlineexplicit

Definition at line 414 of file qobjectdefs_impl.h.

◆ ~QSlotObjectBase()

QtPrivate::QSlotObjectBase::~QSlotObjectBase ( )
inlineprotected

Definition at line 437 of file qobjectdefs_impl.h.

Member Function Documentation

◆ call()

void QtPrivate::QSlotObjectBase::call ( QObject r,
void **  a 
)
inline

Definition at line 433 of file qobjectdefs_impl.h.

Referenced by QHostInfoResult::event().

+ Here is the caller graph for this function:

◆ compare()

bool QtPrivate::QSlotObjectBase::compare ( void **  a)
inline

Definition at line 427 of file qobjectdefs_impl.h.

References Compare(), and ret.

+ Here is the call graph for this function:

◆ destroyIfLastRef()

void QtPrivate::QSlotObjectBase::destroyIfLastRef ( )
inlinenoexcept

Definition at line 424 of file qobjectdefs_impl.h.

References QBasicAtomicInteger< T >::deref().

Referenced by QObjectPrivate::Connection::~Connection(), QObject::~QObject(), QObjectPrivate::connect(), QObjectPrivate::connectImpl(), QHostInfoResult::event(), and QObjectPrivate::Connection::freeSlotObject().

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

◆ isImpl()

bool QtPrivate::QSlotObjectBase::isImpl ( ImplFn  f) const
inline

Definition at line 435 of file qobjectdefs_impl.h.

◆ ref()

int QtPrivate::QSlotObjectBase::ref ( )
inlinenoexcept

Definition at line 416 of file qobjectdefs_impl.h.

References QBasicAtomicInteger< T >::ref().

Referenced by QtPrivate::EffectSlotMapper::EffectSlotMapper(), and SlotObjectGuard::SlotObjectGuard().

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

The documentation for this class was generated from the following file: