Class UrlRequestJobHolder Required to monitor state of QWebEngineUrlRequestJob Qt can delete object at any time, therefore one connects destroy signal from the request to clear pointer.
Definition at line 20 of file rooturlschemehandler.h.
Public Slots | |
void | onRequestDeleted (QObject *obj) |
destroyed signal handler | |
Public Member Functions | |
UrlRequestJobHolder (QWebEngineUrlRequestJob *req) | |
Constructor. | |
QWebEngineUrlRequestJob * | req () const |
void | reset () |
Reset holder. | |
Private Attributes | |
QWebEngineUrlRequestJob * | fRequest {nullptr} |
UrlRequestJobHolder::UrlRequestJobHolder | ( | QWebEngineUrlRequestJob * | req | ) |
Constructor.
Definition at line 44 of file rooturlschemehandler.cpp.
destroyed signal handler
Definition at line 53 of file rooturlschemehandler.cpp.
|
inline |
Definition at line 28 of file rooturlschemehandler.h.
void UrlRequestJobHolder::reset | ( | ) |
Reset holder.
Definition at line 62 of file rooturlschemehandler.cpp.
|
private |
Definition at line 23 of file rooturlschemehandler.h.