QNetworkInformationBackendFactory Class

QNetworkInformationBackendFactory provides the interface for creating instances of QNetworkInformationBackend. More...

Header: #include <QNetworkInformationBackendFactory>
Inherits: QObject

Public Functions

Detailed Description

\internal(Semi-private)

Deriving from and implementing this class will let you register your plugin with QNetworkInformation. It must provide some basic information for querying information about the backend, and must also create the backend if requested. If some pre-conditions for the backend is not met it must return nullptr.

Member Function Documentation

QNetworkInformationBackendFactory::QNetworkInformationBackendFactory()

\internalAdds the factory to an internal list.

[virtual noexcept] QNetworkInformationBackendFactory::~QNetworkInformationBackendFactory()

\internalRemoves the factory from an internal list.