QWebEngineRegisterProtocolHandlerRequest

The QWebEngineRegisterProtocolHandlerRequest class enables accepting or rejecting requests from the registerProtocolHandler API. More

Inheritance diagram of PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest

Synopsis

Functions

Detailed Description

class PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest
PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.accept()

Accepts the request

Subsequent calls to and reject() are ignored.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.__ne__(that)
Parameters

thatPySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest

Return type

bool

Returns true if that points to a different object than this request.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.__eq__(that)
Parameters

thatPySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest

Return type

bool

Returns true if that points to the same object as this request.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.origin()
Return type

PySide6.QtCore.QUrl

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.reject()

Rejects the request.

Subsequent calls to accept() and are ignored.

PySide6.QtWebEngineCore.QWebEngineRegisterProtocolHandlerRequest.scheme()
Return type

str