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 <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, QObject::thread(), QHash< Key, T >::value(), and QSocketNotifier::Write.
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, QHash< Key, T >::remove(), QObject::thread(), QHash< Key, T >::value(), and QSocketNotifier::Write.
|
friend |
Definition at line 14 of file qcfsocketnotifier.cpp.
Referenced by registerSocketNotifier().