Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
HelpBrowserSupport Class Reference

#include <helpbrowsersupport.h>

+ Collaboration diagram for HelpBrowserSupport:

Public Types

enum  ResolveUrlResult { UrlRedirect , UrlLocalData , UrlResolveError }
 

Static Public Member Functions

static QString msgError404 ()
 
static QString msgPageNotFound ()
 
static QString msgAllDocumentationSets ()
 
static QString msgLoadError (const QUrl &url)
 
static QString msgHtmlErrorPage (const QUrl &url)
 
static ResolveUrlResult resolveUrl (const QUrl &url, QUrl *targetUrl, QByteArray *data)
 
static QByteArray fileDataForLocalUrl (const QUrl &url)
 
static QNetworkAccessManagercreateNetworkAccessManager (QObject *parent=nullptr)
 

Detailed Description

Definition at line 19 of file helpbrowsersupport.h.

Member Enumeration Documentation

◆ ResolveUrlResult

Enumerator
UrlRedirect 
UrlLocalData 
UrlResolveError 

Definition at line 22 of file helpbrowsersupport.h.

Member Function Documentation

◆ createNetworkAccessManager()

QNetworkAccessManager * HelpBrowserSupport::createNetworkAccessManager ( QObject * parent = nullptr)
static

Definition at line 202 of file helpbrowsersupport.cpp.

References HelpNetworkAccessManager::HelpNetworkAccessManager().

+ Here is the call graph for this function:

◆ fileDataForLocalUrl()

QByteArray HelpBrowserSupport::fileDataForLocalUrl ( const QUrl & url)
static

Definition at line 176 of file helpbrowsersupport.cpp.

References HelpEngineWrapper::instance().

+ Here is the call graph for this function:

◆ msgAllDocumentationSets()

QString HelpBrowserSupport::msgAllDocumentationSets ( )
static

Definition at line 42 of file helpbrowsersupport.cpp.

◆ msgError404()

QString HelpBrowserSupport::msgError404 ( )
static

Definition at line 32 of file helpbrowsersupport.cpp.

◆ msgHtmlErrorPage()

QString HelpBrowserSupport::msgHtmlErrorPage ( const QUrl & url)
static

Definition at line 54 of file helpbrowsersupport.cpp.

◆ msgLoadError()

QString HelpBrowserSupport::msgLoadError ( const QUrl & url)
static

Definition at line 49 of file helpbrowsersupport.cpp.

◆ msgPageNotFound()

QString HelpBrowserSupport::msgPageNotFound ( )
static

Definition at line 37 of file helpbrowsersupport.cpp.

◆ resolveUrl()

HelpBrowserSupport::ResolveUrlResult HelpBrowserSupport::resolveUrl ( const QUrl & url,
QUrl * targetUrl,
QByteArray * data )
static

Definition at line 181 of file helpbrowsersupport.cpp.

References HelpEngineWrapper::instance(), UrlLocalData, UrlRedirect, and UrlResolveError.

Referenced by HelpNetworkAccessManager::createRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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