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>.
|
#include <qobject_p.h>
Public Member Functions | |
QMetaCallEvent (ushort method_offset, ushort method_relative, QObjectPrivate::StaticMetaCallFunction callFunction, const QObject *sender, int signalId, void **args, QSemaphore *semaphore) | |
QMetaCallEvent (QtPrivate::QSlotObjectBase *slotObj, const QObject *sender, int signalId, void **args, QSemaphore *semaphore) | |
QMetaCallEvent (QtPrivate::SlotObjUniquePtr slotObj, const QObject *sender, int signalId, void **args, QSemaphore *semaphore) | |
QMetaCallEvent (ushort method_offset, ushort method_relative, QObjectPrivate::StaticMetaCallFunction callFunction, const QObject *sender, int signalId, int nargs) | |
QMetaCallEvent (QtPrivate::QSlotObjectBase *slotObj, const QObject *sender, int signalId, int nargs) | |
QMetaCallEvent (QtPrivate::SlotObjUniquePtr slotObj, const QObject *sender, int signalId, int nargs) | |
~QMetaCallEvent () override | |
int | id () const |
const void *const * | args () const |
void ** | args () |
const QMetaType * | types () const |
QMetaType * | types () |
virtual void | placeMetaCall (QObject *object) override |
Public Member Functions inherited from QAbstractMetaCallEvent | |
QAbstractMetaCallEvent (const QObject *sender, int signalId, QSemaphore *semaphore=nullptr) | |
~QAbstractMetaCallEvent () | |
const QObject * | sender () const |
int | signalId () const |
Public Member Functions inherited from QEvent | |
QEvent (Type type) | |
Constructs an event object of type type. | |
virtual | ~QEvent () |
Destroys the event. | |
Type | type () const |
Returns the event type. | |
bool | spontaneous () const |
Returns true if the event originated outside the application (a system event); otherwise returns false . | |
virtual void | setAccepted (bool accepted) |
bool | isAccepted () const |
void | accept () |
Sets the accept flag of the event object, the equivalent of calling setAccepted(true). | |
void | ignore () |
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false). | |
bool | isInputEvent () const noexcept |
bool | isPointerEvent () const noexcept |
bool | isSinglePointEvent () const noexcept |
virtual QEvent * | clone () const |
Creates and returns an identical copy of this event. | |
Static Public Member Functions | |
template<typename ... Args> | |
static QMetaCallEvent * | create (QtPrivate::QSlotObjectBase *slotObj, const QObject *sender, int signal_index, const Args &...argv) |
template<typename ... Args> | |
static QMetaCallEvent * | create (QtPrivate::SlotObjUniquePtr slotObj, const QObject *sender, int signal_index, const Args &...argv) |
Static Public Member Functions inherited from QEvent | |
static int | registerEventType (int hint=-1) noexcept |
Definition at line 368 of file qobject_p.h.
QMetaCallEvent::QMetaCallEvent | ( | ushort | method_offset, |
ushort | method_relative, | ||
QObjectPrivate::StaticMetaCallFunction | callFunction, | ||
const QObject * | sender, | ||
int | signalId, | ||
void ** | args, | ||
QSemaphore * | semaphore ) |
Used for blocking queued connections, just passes args through without allocating any memory.
Definition at line 505 of file qobject.cpp.
References args().
QMetaCallEvent::QMetaCallEvent | ( | QtPrivate::QSlotObjectBase * | slotO, |
const QObject * | sender, | ||
int | signalId, | ||
void ** | args, | ||
QSemaphore * | semaphore ) |
Used for blocking queued connections, just passes args through without allocating any memory.
Definition at line 521 of file qobject.cpp.
References args().
QMetaCallEvent::QMetaCallEvent | ( | QtPrivate::SlotObjUniquePtr | slotO, |
const QObject * | sender, | ||
int | signalId, | ||
void ** | args, | ||
QSemaphore * | semaphore ) |
Used for blocking queued connections, just passes args through without allocating any memory.
Definition at line 538 of file qobject.cpp.
QMetaCallEvent::QMetaCallEvent | ( | ushort | method_offset, |
ushort | method_relative, | ||
QObjectPrivate::StaticMetaCallFunction | callFunction, | ||
const QObject * | sender, | ||
int | signalId, | ||
int | nargs ) |
Allocates memory for nargs; code creating an event needs to initialize the void* and int arrays by accessing args() and types(), respectively.
Definition at line 553 of file qobject.cpp.
QMetaCallEvent::QMetaCallEvent | ( | QtPrivate::QSlotObjectBase * | slotO, |
const QObject * | sender, | ||
int | signalId, | ||
int | nargs ) |
Allocates memory for nargs; code creating an event needs to initialize the void* and int arrays by accessing args() and types(), respectively.
Definition at line 570 of file qobject.cpp.
QMetaCallEvent::QMetaCallEvent | ( | QtPrivate::SlotObjUniquePtr | slotO, |
const QObject * | sender, | ||
int | signalId, | ||
int | nargs ) |
Allocates memory for nargs; code creating an event needs to initialize the void* and int arrays by accessing args() and types(), respectively.
Definition at line 588 of file qobject.cpp.
|
override |
|
inline |
Definition at line 418 of file qobject_p.h.
References d.
|
inline |
Definition at line 417 of file qobject_p.h.
References d.
Referenced by QMetaCallEvent(), and QMetaCallEvent().
|
inlinestatic |
Definition at line 398 of file qobject_p.h.
|
inlinestatic |
Definition at line 407 of file qobject_p.h.
|
inline |
Definition at line 416 of file qobject_p.h.
References d.
Implements QAbstractMetaCallEvent.
Definition at line 617 of file qobject.cpp.
References QMetaObject::InvokeMetaMethod, and QMetaObject::metacall().
|
inline |
Definition at line 420 of file qobject_p.h.
References d.
|
inline |
Definition at line 419 of file qobject_p.h.
References d.
Referenced by ~QMetaCallEvent().