Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qnetworkinformation.cpp File Reference
#include "qnetworkinformation.h"
#include <QtNetwork/private/qnetworkinformation_p.h>
#include <QtNetwork/qnetworkinformation.h>
#include <QtCore/private/qobject_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qmutex.h>
#include <QtCore/qthread.h>
#include <QtCore/private/qfactoryloader_p.h>
#include <algorithm>
#include <memory>
#include <mutex>
#include "moc_qnetworkinformation.cpp"
#include "moc_qnetworkinformation_p.cpp"
+ Include dependency graph for qnetworkinformation.cpp:

Go to the source code of this file.

Classes

struct  QNetworkInformationDeleter
 
class  QNetworkInformationPrivate
 

Functions

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY (lcNetInfo, "qt.network.info")
 
 Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, qniLoader,(QNetworkInformationBackendFactory_iid, QStringLiteral("/networkinformation"))) struct QStaticNetworkInformationDataHolder
 
 Q_GLOBAL_STATIC (QStaticNetworkInformationDataHolder, dataHolder)
 
static void networkInfoCleanup ()
 

Function Documentation

◆ networkInfoCleanup()

static void networkInfoCleanup ( )
static

Definition at line 41 of file qnetworkinformation.cpp.

References QThread::currentThread(), QMetaObject::invokeMethod(), and QObject::thread().

Referenced by QNetworkInformationPrivate::QNetworkInformationPrivate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Q_GLOBAL_STATIC()

Q_GLOBAL_STATIC ( QStaticNetworkInformationDataHolder  ,
dataHolder   
)

◆ Q_GLOBAL_STATIC_WITH_ARGS()

Q_GLOBAL_STATIC_WITH_ARGS ( QFactoryLoader  ,
qniLoader  ,
(QNetworkInformationBackendFactory_iid, QStringLiteral("/networkinformation"))   
)

Definition at line 29 of file qnetworkinformation.cpp.

References instanceHolder.

◆ Q_LOGGING_CATEGORY()

QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY ( lcNetInfo  ,
"qt.network.info"   
)