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
qcoreevent.cpp File Reference

(c610cfe328d911a3cc145f09dade2cd61e5153e2)

#include "qcoreevent.h"
#include "qcoreevent_p.h"
#include "qcoreapplication.h"
#include "qcoreapplication_p.h"
#include "qbasicatomic.h"
#include <qtcore_tracepoints_p.h>
#include <limits>
#include "moc_qcoreevent.cpp"
+ Include dependency graph for qcoreevent.cpp:

Go to the source code of this file.

Typedefs

typedef QBasicAtomicBitField< QEvent::MaxUser - QEvent::User+1 > UserEventTypeRegistry
 

Functions

QT_BEGIN_NAMESPACE Q_TRACE_POINT (qtcore, QEvent_ctor, QEvent *event, QEvent::Type type)
 
 Q_TRACE_POINT (qtcore, QEvent_dtor, QEvent *event, QEvent::Type type)
 
static int registerEventTypeZeroBased (int id) noexcept
 

Variables

static Q_CONSTINIT UserEventTypeRegistry userEventTypeRegistry {}
 

Typedef Documentation

◆ UserEventTypeRegistry

typedef QBasicAtomicBitField<QEvent::MaxUser - QEvent::User + 1> UserEventTypeRegistry

Definition at line 477 of file qcoreevent.cpp.

Function Documentation

◆ Q_TRACE_POINT() [1/2]

QT_BEGIN_NAMESPACE Q_TRACE_POINT ( qtcore ,
QEvent_ctor ,
QEvent * event,
QEvent::Type type )

◆ Q_TRACE_POINT() [2/2]

Q_TRACE_POINT ( qtcore ,
QEvent_dtor ,
QEvent * event,
QEvent::Type type )

◆ registerEventTypeZeroBased()

static int registerEventTypeZeroBased ( int id)
inlinestaticnoexcept

Definition at line 481 of file qcoreevent.cpp.

References userEventTypeRegistry.

Referenced by QEvent::registerEventType().

+ Here is the caller graph for this function:

Variable Documentation

◆ userEventTypeRegistry

Q_CONSTINIT UserEventTypeRegistry userEventTypeRegistry {}
static

Definition at line 479 of file qcoreevent.cpp.

Referenced by registerEventTypeZeroBased().