Logo ROOT  
Reference Guide
No Matches
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

Public Member Functions

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

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:

Constructor & Destructor Documentation

◆ UrlRequestJobHolder()

UrlRequestJobHolder::UrlRequestJobHolder ( QWebEngineUrlRequestJob *  req)


Definition at line 43 of file rooturlschemehandler.cpp.

Member Function Documentation

◆ onRequestDeleted

void UrlRequestJobHolder::onRequestDeleted ( QObject obj)

destroyed signal handler

Definition at line 52 of file rooturlschemehandler.cpp.

◆ req()

QWebEngineUrlRequestJob * UrlRequestJobHolder::req ( ) const

Definition at line 28 of file rooturlschemehandler.h.

◆ reset()

void UrlRequestJobHolder::reset ( )

Reset holder.

Definition at line 61 of file rooturlschemehandler.cpp.

Member Data Documentation

◆ fRequest

QWebEngineUrlRequestJob* UrlRequestJobHolder::fRequest {nullptr}

Definition at line 23 of file rooturlschemehandler.h.

  • gui/qt5webdisplay/rooturlschemehandler.h
  • gui/qt5webdisplay/rooturlschemehandler.cpp