Logo ROOT  
Reference Guide
UrlRequestJobHolder Class Reference

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 More...
 

Public Member Functions

 UrlRequestJobHolder (QWebEngineUrlRequestJob *req)
 Constructor. More...
 
QWebEngineUrlRequestJob * req () const
 
void reset ()
 Reset holder. More...
 

Private Attributes

QWebEngineUrlRequestJob * fRequest {nullptr}
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/gui/qt5webdisplay/rooturlschemehandler.h>

Inheritance diagram for UrlRequestJobHolder:
[legend]

Constructor & Destructor Documentation

◆ UrlRequestJobHolder()

UrlRequestJobHolder::UrlRequestJobHolder ( QWebEngineUrlRequestJob *  req)

Constructor.

Definition at line 44 of file rooturlschemehandler.cpp.

Member Function Documentation

◆ onRequestDeleted

void UrlRequestJobHolder::onRequestDeleted ( QObject obj)
slot

destroyed signal handler

Definition at line 53 of file rooturlschemehandler.cpp.

◆ req()

QWebEngineUrlRequestJob * UrlRequestJobHolder::req ( ) const
inline

Definition at line 28 of file rooturlschemehandler.h.

◆ reset()

void UrlRequestJobHolder::reset ( )

Reset holder.

Definition at line 62 of file rooturlschemehandler.cpp.

Member Data Documentation

◆ fRequest

QWebEngineUrlRequestJob* UrlRequestJobHolder::fRequest {nullptr}
private

Definition at line 23 of file rooturlschemehandler.h.


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