Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QNetworkConnectionEvents Class Reference
+ Inheritance diagram for QNetworkConnectionEvents:
+ Collaboration diagram for QNetworkConnectionEvents:

Public Member Functions

 QNetworkConnectionEvents (QNetworkConnectionMonitorPrivate *monitor)
 
virtual ~QNetworkConnectionEvents ()
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject) override
 
ULONG STDMETHODCALLTYPE AddRef () override
 
ULONG STDMETHODCALLTYPE Release () override
 
HRESULT STDMETHODCALLTYPE NetworkConnectionConnectivityChanged (GUID connectionId, NLM_CONNECTIVITY connectivity) override
 
HRESULT STDMETHODCALLTYPE NetworkConnectionPropertyChanged (GUID connectionId, NLM_CONNECTION_PROPERTY_CHANGE flags) override
 
bool setTarget (const QNetworkInterface &iface)
 
bool startMonitoring ()
 
bool stopMonitoring ()
 

Detailed Description

Definition at line 62 of file qnetconmonitor_win.cpp.

Constructor & Destructor Documentation

◆ QNetworkConnectionEvents()

QNetworkConnectionEvents::QNetworkConnectionEvents ( QNetworkConnectionMonitorPrivate monitor)

Definition at line 140 of file qnetconmonitor_win.cpp.

References qCDebug.

◆ ~QNetworkConnectionEvents()

QNetworkConnectionEvents::~QNetworkConnectionEvents ( )
virtual

Definition at line 163 of file qnetconmonitor_win.cpp.

References Q_ASSERT.

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE QNetworkConnectionEvents::AddRef ( )
inlineoverride

Definition at line 70 of file qnetconmonitor_win.cpp.

◆ NetworkConnectionConnectivityChanged()

HRESULT STDMETHODCALLTYPE QNetworkConnectionEvents::NetworkConnectionConnectivityChanged ( GUID  connectionId,
NLM_CONNECTIVITY  connectivity 
)
override

Definition at line 211 of file qnetconmonitor_win.cpp.

References QMetaObject::invokeMethod(), QObjectData::q_ptr, Qt::QueuedConnection, and this.

+ Here is the call graph for this function:

◆ NetworkConnectionPropertyChanged()

HRESULT STDMETHODCALLTYPE QNetworkConnectionEvents::NetworkConnectionPropertyChanged ( GUID  connectionId,
NLM_CONNECTION_PROPERTY_CHANGE  flags 
)
override

Definition at line 225 of file qnetconmonitor_win.cpp.

References Q_UNUSED.

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE QNetworkConnectionEvents::QueryInterface ( REFIID  riid,
void **  ppvObject 
)
override

Definition at line 200 of file qnetconmonitor_win.cpp.

References riid.

◆ Release()

ULONG STDMETHODCALLTYPE QNetworkConnectionEvents::Release ( )
inlineoverride

Definition at line 71 of file qnetconmonitor_win.cpp.

◆ setTarget()

bool QNetworkConnectionEvents::setTarget ( const QNetworkInterface iface)

Definition at line 233 of file qnetconmonitor_win.cpp.

References connection, and qCDebug.

◆ startMonitoring()

bool QNetworkConnectionEvents::startMonitoring ( )

Definition at line 264 of file qnetconmonitor_win.cpp.

References QUuid::isNull(), and qCDebug.

+ Here is the call graph for this function:

◆ stopMonitoring()

bool QNetworkConnectionEvents::stopMonitoring ( )

Definition at line 285 of file qnetconmonitor_win.cpp.

References qCDebug.


The documentation for this class was generated from the following file: