eric6.Helpviewer.Network.QtHelpAccessHandler
Module implementing a scheme access handler for QtHelp.
Global Attributes
Classes
Functions
QtHelpAccessHandler
Class implementing a scheme access handler for QtHelp.
Derived from
SchemeAccessHandler
Class Attributes
Class Methods
Methods
Static Methods
QtHelpAccessHandler (Constructor)
QtHelpAccessHandler(engine, parent=None)
Constructor
- engine
-
reference to the help engine (QHelpEngine)
- parent
-
reference to the parent object (QObject)
QtHelpAccessHandler.__mimeFromUrl
__mimeFromUrl(url)
Private method to guess the mime type given an URL.
- url
-
URL to guess the mime type from (QUrl)
- Returns:
-
mime type for the given URL (string)
QtHelpAccessHandler.createRequest
createRequest(op, request, outgoingData=None)
Public method to create a request.
- op
-
the operation to be performed
(QNetworkAccessManager.Operation)
- request
-
reference to the request object (QNetworkRequest)
- outgoingData
-
reference to an IODevice containing data to be sent
(QIODevice)
- Returns:
-
reference to the created reply object (QNetworkReply)