Adds support for qthelp scheme links that load content from them QHelpEngine.
More...
|
QString | contentType (const QUrl &url) |
| Given a url return the content type of the resource based on the extension. More...
|
|
Adds support for qthelp scheme links that load content from them QHelpEngine.
Definition at line 196 of file pqHelpWindow.cxx.
◆ QtHelpUrlHandler()
QtHelpUrlHandler::QtHelpUrlHandler |
( |
QHelpEngineCore * |
helpEngine, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
inline |
◆ contentType()
QString QtHelpUrlHandler::contentType |
( |
const QUrl & |
url | ) |
|
|
inlineprivate |
Given a url return the content type of the resource based on the extension.
- Parameters
-
url | A url pointing to a resource |
Definition at line 218 of file pqHelpWindow.cxx.
Referenced by requestStarted().
◆ requestStarted()
void QtHelpUrlHandler::requestStarted |
( |
QWebEngineUrlRequestJob * |
request | ) |
|
|
inlineoverrideprotected |
◆ m_helpEngine
QHelpEngineCore* QtHelpUrlHandler::m_helpEngine |
|
private |
The documentation for this class was generated from the following file: