The QWebEngineRegisterProtocolHandlerRequest class enables accepting or rejecting requests from the registerProtocolHandler API. More...
| Header: | #include <QWebEngineRegisterProtocolHandlerRequest> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore)target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
| qmake: | QT += webenginecore |
| In QML: | RegisterProtocolHandlerRequest |
| void | accept() |
| QUrl | origin() const |
| void | reject() |
| QString | scheme() const |
| bool | operator!=(const QWebEngineRegisterProtocolHandlerRequest &that) const |
| bool | operator==(const QWebEngineRegisterProtocolHandlerRequest &that) const |
See also QWebEnginePage::registerProtocolHandlerRequested().
[read-only] origin : const QUrlThis property holds the URL template for the protocol handler.
This is the second parameter from the registerProtocolHandler call.
Access functions:
| QUrl | origin() const |
[read-only] scheme : const QStringThis property holds the URL scheme for the protocol handler.
This is the first parameter from the registerProtocolHandler call.
Access functions:
| QString | scheme() const |
[invokable] void QWebEngineRegisterProtocolHandlerRequest::accept()Accepts the request
Subsequent calls to accept() and reject() are ignored.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable] void QWebEngineRegisterProtocolHandlerRequest::reject()Rejects the request.
Subsequent calls to accept() and reject() are ignored.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
Returns true if that points to a different object than this request.
Returns true if that points to the same object as this request.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: