- class QWebEngineRegisterProtocolHandlerRequest¶
The
QWebEngineRegisterProtocolHandlerRequest
class enables accepting or rejecting requests from the registerProtocolHandler API. More…Synopsis¶
Properties¶
Methods¶
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
See also
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.This property holds The URL template for the protocol handler..
This is the second parameter from the registerProtocolHandler call.
- Access functions:
- property schemeᅟ: str¶
This property holds The URL scheme for the protocol handler..
This is the first parameter from the registerProtocolHandler call.
- Access functions:
- __init__()¶
- accept()¶
Accepts the request
Subsequent calls to accept() and
reject()
are ignored.- __ne__(that)¶
- Parameters:
- Return type:
bool
Returns
true
ifthat
points to a different object than this request.- __eq__(that)¶
- Parameters:
- Return type:
bool
Returns
true
ifthat
points to the same object as this request.Getter of property
originᅟ
.- reject()¶
Rejects the request.
Subsequent calls to
accept()
and reject() are ignored.- scheme()¶
- Return type:
str
Getter of property
schemeᅟ
.