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 <qeventdispatcher_unix_p.h>
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData> |
Static Public Member Functions inherited from QAbstractEventDispatcherPrivate | |
static int | allocateTimerId () |
static void | releaseTimerId (int id) |
static void | releaseTimerId (Qt::TimerId id) |
static QAbstractEventDispatcherPrivate * | get (QAbstractEventDispatcher *o) |
static const QAbstractEventDispatcherPrivate * | get (const QAbstractEventDispatcher *o) |
Static Public Member Functions inherited from QObjectPrivate | |
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 173 of file qeventdispatcher_unix.cpp.
References QThreadPipe::init(), Q_UNLIKELY, qFatal, and threadPipe.
QEventDispatcherUNIXPrivate::~QEventDispatcherUNIXPrivate | ( | ) |
Definition at line 179 of file qeventdispatcher_unix.cpp.
References QTimerInfoList::clearTimers(), and timerList.
int QEventDispatcherUNIXPrivate::activateSocketNotifiers | ( | ) |
Definition at line 240 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 195 of file qeventdispatcher_unix.cpp.
References QTimerInfoList::activateTimers(), and timerList.
void QEventDispatcherUNIXPrivate::markPendingSocketNotifiers | ( | ) |
Definition at line 200 of file qeventdispatcher_unix.cpp.
References QList< T >::clear(), QHash< Key, T >::end(), QSocketNotifier::Exception, QHash< Key, T >::find(), it, notifier, pollfds, Q_ASSERT, qWarning, QSocketNotifier::Read, setSocketNotifierPending(), socketNotifiers, socketType(), and QSocketNotifier::Write.
Referenced by activateSocketNotifiers().
void QEventDispatcherUNIXPrivate::setSocketNotifierPending | ( | QSocketNotifier * | notifier | ) |
Definition at line 185 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().