Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtPrivate::QSlotObjectBase Class Reference

#include <qobjectdefs_impl.h>

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

Classes

struct  Deleter
 

Public Member Functions

 QSlotObjectBase (ImplFn fn)
 
bool 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 444 of file qobjectdefs_impl.h.

Member Enumeration Documentation

◆ Operation

Enumerator
Destroy 
Call 
Compare 
NumOperations 

Definition at line 462 of file qobjectdefs_impl.h.

Constructor & Destructor Documentation

◆ QSlotObjectBase()

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

Definition at line 470 of file qobjectdefs_impl.h.

◆ ~QSlotObjectBase()

QtPrivate::QSlotObjectBase::~QSlotObjectBase ( )
inlineprotected

Definition at line 502 of file qobjectdefs_impl.h.

Member Function Documentation

◆ call()

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

Definition at line 498 of file qobjectdefs_impl.h.

◆ compare()

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

Definition at line 492 of file qobjectdefs_impl.h.

References ret.

◆ destroyIfLastRef()

void QtPrivate::QSlotObjectBase::destroyIfLastRef ( )
inlinenoexcept

Definition at line 489 of file qobjectdefs_impl.h.

References QBasicAtomicInteger< T >::deref().

Referenced by QObjectPrivate::Connection::~Connection(), QObject::~QObject(), QObjectPrivate::Connection::freeSlotObject(), and QQmlConnections::setTarget().

+ 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 500 of file qobjectdefs_impl.h.

◆ ref()

bool QtPrivate::QSlotObjectBase::ref ( )
inlinenoexcept

Definition at line 481 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: