RegisterProtocolHandlerRequest QML Type

The RegisterProtocolHandlerRequest type enables accepting or rejecting requests from the registerProtocolHandler API. More...

Import Statement: import QtWebEngine 1.7
Since: QtWebEngine 1.7
Instantiates: QWebEngineRegisterProtocolHandlerRequest

Properties

Methods

Detailed Description

See also WebEngineView::registerProtocolHandlerRequested().

Property Documentation

origin : url

The URL template for the protocol handler.

This is the second parameter from the registerProtocolHandler call.


scheme : string

The URL scheme for the protocol handler.

This is the first parameter from the registerProtocolHandler call.


Method Documentation

void accept()

Accepts the request.

Subsequent calls to accept() and reject() are ignored.


void reject()

Accepts the request.

Subsequent calls to accept() and reject() are ignored.


© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.