![]() |
Qt 6.x
The Qt SDK
|
#include <qcfsocketnotifier_p.h>
Public Member Functions | |
QCFSocketNotifier () | |
~QCFSocketNotifier () | |
void | setHostEventDispatcher (QAbstractEventDispatcher *hostEventDispacher) |
void | setMaybeCancelWaitForMoreEventsCallback (MaybeCancelWaitForMoreEventsFn callBack) |
void | registerSocketNotifier (QSocketNotifier *notifier) |
void | unregisterSocketNotifier (QSocketNotifier *notifier) |
void | removeSocketNotifiers () |
Friends | |
void | qt_mac_socket_callback (CFSocketRef, CFSocketCallBackType, CFDataRef, const void *, void *) |
Definition at line 49 of file qcfsocketnotifier_p.h.
QCFSocketNotifier::QCFSocketNotifier | ( | ) |
Definition at line 76 of file qcfsocketnotifier.cpp.
QCFSocketNotifier::~QCFSocketNotifier | ( | ) |
Definition at line 84 of file qcfsocketnotifier.cpp.
void QCFSocketNotifier::registerSocketNotifier | ( | QSocketNotifier * | notifier | ) |
Definition at line 99 of file qcfsocketnotifier.cpp.
References context, QThread::currentThread(), QSocketNotifier::Exception, QHash< Key, T >::insert(), notifier, Q_ASSERT, qt_mac_socket_callback, qWarning, QSocketNotifier::Read, MacSocketInfo::readEnabled, MacSocketInfo::readNotifier, MacSocketInfo::socket, QObject::thread(), QHash< Key, T >::value(), QSocketNotifier::Write, MacSocketInfo::writeEnabled, and MacSocketInfo::writeNotifier.
void QCFSocketNotifier::removeSocketNotifiers | ( | ) |
Definition at line 213 of file qcfsocketnotifier.cpp.
References QHash< Key, T >::clear().
void QCFSocketNotifier::setHostEventDispatcher | ( | QAbstractEventDispatcher * | hostEventDispacher | ) |
Definition at line 89 of file qcfsocketnotifier.cpp.
void QCFSocketNotifier::setMaybeCancelWaitForMoreEventsCallback | ( | MaybeCancelWaitForMoreEventsFn | callBack | ) |
Definition at line 94 of file qcfsocketnotifier.cpp.
void QCFSocketNotifier::unregisterSocketNotifier | ( | QSocketNotifier * | notifier | ) |
Definition at line 167 of file qcfsocketnotifier.cpp.
References QThread::currentThread(), QSocketNotifier::Exception, notifier, Q_ASSERT, qWarning, QSocketNotifier::Read, MacSocketInfo::readEnabled, MacSocketInfo::readNotifier, QHash< Key, T >::remove(), MacSocketInfo::socket, QObject::thread(), QHash< Key, T >::value(), QSocketNotifier::Write, MacSocketInfo::writeEnabled, and MacSocketInfo::writeNotifier.
|
friend |
Definition at line 14 of file qcfsocketnotifier.cpp.
Referenced by registerSocketNotifier().