Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
QtHelpUrlHandler Class Reference

Adds support for qthelp scheme links that load content from them QHelpEngine. More...

Inheritance diagram for QtHelpUrlHandler:

Public Member Functions

 QtHelpUrlHandler (QHelpEngineCore *helpEngine, QObject *parent=nullptr)
 

Protected Member Functions

void requestStarted (QWebEngineUrlRequestJob *request) override
 

Private Member Functions

QString contentType (const QUrl &url)
 Given a url return the content type of the resource based on the extension. More...
 

Private Attributes

QHelpEngineCore * m_helpEngine
 

Detailed Description

Adds support for qthelp scheme links that load content from them QHelpEngine.

Definition at line 196 of file pqHelpWindow.cxx.

Constructor & Destructor Documentation

◆ QtHelpUrlHandler()

QtHelpUrlHandler::QtHelpUrlHandler ( QHelpEngineCore *  helpEngine,
QObject *  parent = nullptr 
)
inline

Definition at line 198 of file pqHelpWindow.cxx.

Member Function Documentation

◆ contentType()

QString QtHelpUrlHandler::contentType ( const QUrl &  url)
inlineprivate

Given a url return the content type of the resource based on the extension.

Parameters
urlA url pointing to a resource

Definition at line 218 of file pqHelpWindow.cxx.

Referenced by requestStarted().

◆ requestStarted()

void QtHelpUrlHandler::requestStarted ( QWebEngineUrlRequestJob *  request)
inlineoverrideprotected

Definition at line 202 of file pqHelpWindow.cxx.

References contentType(), and m_helpEngine.

Member Data Documentation

◆ m_helpEngine

QHelpEngineCore* QtHelpUrlHandler::m_helpEngine
private

Definition at line 224 of file pqHelpWindow.cxx.

Referenced by requestStarted().


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