QNetworkAccessBackendFactory Class
QNetworkAccessBackendFactory is the base class to inherit from for Qt to instantiate and query your QNetworkAccessBackend plugin. \since
6.0 \internal
. More...
Header: | #include <QNetworkAccessBackendFactory> |
Inherits: | QObject |
Public Functions
Detailed Description
The class is considered semi-private and as such requires linking to "NetworkPrivate" to access the header. Furthermore it means the class is not under the same binary compatibility restrictions as the rest of Qt. While we still try to avoid breakage it may still occur. The class is primarily meant to be used by plugins which would be recompiled every time Qt is updated.
This class acts as the primary interface to the plugin and must be derived from. It deals with both querying supported schemes and the creation of QNetworkAccessBackend
Since they are both abstract function you are required to implement supportedSchemes() and create().
Member Function Documentation
QNetworkAccessBackendFactory::QNetworkAccessBackendFactory()
Constructs QNetworkAccessBackendFactory
[virtual noexcept]
QNetworkAccessBackendFactory::~QNetworkAccessBackendFactory()
Destructs QNetworkAccessBackendFactory