![]() |
Qt 6.x
The Qt SDK
|
Inheritance diagram for QNetworkConnectionMonitorPrivate:
Collaboration diagram for QNetworkConnectionMonitorPrivate:Static Public Member Functions | |
| static void | probeCallback (SCNetworkReachabilityRef probe, SCNetworkReachabilityFlags flags, void *info) |
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) |
Public Attributes | ||
| SCNetworkReachabilityRef | probe = nullptr | |
| SCNetworkReachabilityFlags | state = kSCNetworkReachabilityFlagsIsLocalAddress | |
| bool | scheduled = false | |
Public Attributes inherited from QObjectPrivate | ||
| ExtraData * | extraData | |
| QAtomicPointer< QThreadData > | threadData | |
| QAtomicPointer< ConnectionData > | connections | |
| union { | ||
| QObject * currentChildBeingDeleted | ||
| QAbstractDeclarativeData * declarativeData | ||
| }; | ||
| QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
Public Attributes inherited from QObjectData | ||
| QObject * | q_ptr | |
| QObject * | parent | |
| QObjectList | children | |
| uint | isWidget: 1 | |
| uint | blockSig: 1 | |
| uint | wasDeleted: 1 | |
| uint | isDeletingChildren: 1 | |
| uint | sendChildEvents: 1 | |
| uint | receiveChildEvents: 1 | |
| uint | isWindow: 1 | |
| uint | deleteLaterCalled: 1 | |
| uint | isQuickItem: 1 | |
| uint | willBeWidget: 1 | |
| uint | wasWidget: 1 | |
| uint | unused: 21 | |
| QAtomicInt | postedEvents | |
| QDynamicMetaObjectData * | metaObject | |
| QBindingStorage | bindingStorage | |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 81 of file qnetconmonitor_darwin.mm.
| QNetworkConnectionMonitorPrivate::QNetworkConnectionMonitorPrivate | ( | ) |
Definition at line 298 of file qnetconmonitor_win.cpp.
| QNetworkConnectionMonitorPrivate::~QNetworkConnectionMonitorPrivate | ( | ) |
Definition at line 306 of file qnetconmonitor_win.cpp.
References stopMonitoring().
Here is the call graph for this function:| bool QNetworkConnectionMonitorPrivate::isReachable | ( | ) | const |
Definition at line 135 of file qnetconmonitor_darwin.mm.
References state.
Referenced by updateState().
Here is the caller graph for this function:
|
static |
Definition at line 147 of file qnetconmonitor_darwin.mm.
References info, probe, Q_ASSERT, and Q_UNUSED.
Referenced by QNetworkConnectionMonitor::startMonitoring().
Here is the caller graph for this function:| void QNetworkConnectionMonitorPrivate::reset | ( | ) |
Definition at line 124 of file qnetconmonitor_darwin.mm.
| void QNetworkConnectionMonitorPrivate::setConnectivity | ( | NLM_CONNECTIVITY | newConnectivity | ) |
Definition at line 339 of file qnetconmonitor_win.cpp.
References emit.
| bool QNetworkConnectionMonitorPrivate::setTargets | ( | const QHostAddress & | local, |
| const QHostAddress & | remote | ||
| ) |
Definition at line 315 of file qnetconmonitor_win.cpp.
References QSet< T >::cend(), QAbstractSocket::IPv6Protocol, QHostAddress::isInSubnet(), QHostAddress::isLinkLocal(), it, QHostAddress::protocol(), Q_UNLIKELY, and qCDebug.
Here is the call graph for this function:| bool QNetworkConnectionMonitorPrivate::startMonitoring | ( | ) |
Definition at line 349 of file qnetconmonitor_win.cpp.
References Q_ASSERT.
| void QNetworkConnectionMonitorPrivate::stopMonitoring | ( | ) |
Definition at line 358 of file qnetconmonitor_win.cpp.
References Q_ASSERT.
Referenced by ~QNetworkConnectionMonitorPrivate().
Here is the caller graph for this function:| void QNetworkConnectionMonitorPrivate::updateState | ( | SCNetworkReachabilityFlags | newState | ) |
Definition at line 100 of file qnetconmonitor_darwin.mm.
References emit, isReachable(), newState(), and state.
Here is the call graph for this function:| SCNetworkReachabilityRef QNetworkConnectionMonitorPrivate::probe = nullptr |
Definition at line 84 of file qnetconmonitor_darwin.mm.
Referenced by probeCallback(), and reset().
| bool QNetworkConnectionMonitorPrivate::scheduled = false |
Definition at line 86 of file qnetconmonitor_darwin.mm.
Referenced by reset().
| SCNetworkReachabilityFlags QNetworkConnectionMonitorPrivate::state = kSCNetworkReachabilityFlagsIsLocalAddress |
Definition at line 85 of file qnetconmonitor_darwin.mm.
Referenced by isReachable(), reset(), and updateState().