Logo ROOT  
Reference Guide
 
Loading...
Searching...
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)
 Constructor.
 
QWebEngineUrlRequestJob * req () const
 
void reset ()
 Reset holder.
 

Private Attributes

QWebEngineUrlRequestJob * fRequest {nullptr}
 

#include </home/sftnight/build/workspace/root-makedoc-v626/rootspi/rdoc/src/v6-26-00-patches/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.

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