![]() |
Qt 6.x
The Qt SDK
|
#include <qeventdispatcher_unix_p.h>
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
static int | allocateTimerId () |
static void | releaseTimerId (int id) |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 92 of file qeventdispatcher_unix_p.h.
QEventDispatcherUNIXPrivate::QEventDispatcherUNIXPrivate | ( | ) |
Definition at line 189 of file qeventdispatcher_unix.cpp.
References QThreadPipe::init(), Q_UNLIKELY, qFatal, and threadPipe.
QEventDispatcherUNIXPrivate::~QEventDispatcherUNIXPrivate | ( | ) |
Definition at line 195 of file qeventdispatcher_unix.cpp.
References qDeleteAll(), and timerList.
int QEventDispatcherUNIXPrivate::activateSocketNotifiers | ( | ) |
Definition at line 256 of file qeventdispatcher_unix.cpp.
References QList< T >::isEmpty(), markPendingSocketNotifiers(), notifier, pendingNotifiers, QCoreApplication::sendEvent(), QEvent::SockAct, and QList< T >::takeFirst().
int QEventDispatcherUNIXPrivate::activateTimers | ( | ) |
Definition at line 211 of file qeventdispatcher_unix.cpp.
References QTimerInfoList::activateTimers(), and timerList.
void QEventDispatcherUNIXPrivate::markPendingSocketNotifiers | ( | ) |
Definition at line 216 of file qeventdispatcher_unix.cpp.
References QList< T >::clear(), QHash< Key, T >::end(), QSocketNotifier::Exception, QHash< Key, T >::find(), it, notifier, QSocketNotifierSetUNIX::notifiers, pollfds, Q_ASSERT, qWarning, QSocketNotifier::Read, setSocketNotifierPending(), socketNotifiers, socketType(), and QSocketNotifier::Write.
Referenced by activateSocketNotifiers().
void QEventDispatcherUNIXPrivate::setSocketNotifierPending | ( | QSocketNotifier * | notifier | ) |
Definition at line 201 of file qeventdispatcher_unix.cpp.
References QListSpecialMethodsBase< T >::contains(), notifier, pendingNotifiers, and Q_ASSERT.
Referenced by markPendingSocketNotifiers().
QAtomicInt QEventDispatcherUNIXPrivate::interrupt |
Definition at line 113 of file qeventdispatcher_unix_p.h.
QList<QSocketNotifier *> QEventDispatcherUNIXPrivate::pendingNotifiers |
Definition at line 110 of file qeventdispatcher_unix_p.h.
Referenced by activateSocketNotifiers(), and setSocketNotifierPending().
QList<pollfd> QEventDispatcherUNIXPrivate::pollfds |
Definition at line 107 of file qeventdispatcher_unix_p.h.
Referenced by markPendingSocketNotifiers().
QHash<int, QSocketNotifierSetUNIX> QEventDispatcherUNIXPrivate::socketNotifiers |
Definition at line 109 of file qeventdispatcher_unix_p.h.
Referenced by markPendingSocketNotifiers().
QThreadPipe QEventDispatcherUNIXPrivate::threadPipe |
Definition at line 106 of file qeventdispatcher_unix_p.h.
Referenced by QEventDispatcherUNIXPrivate().
QTimerInfoList QEventDispatcherUNIXPrivate::timerList |
Definition at line 112 of file qeventdispatcher_unix_p.h.
Referenced by ~QEventDispatcherUNIXPrivate(), and activateTimers().