このページでは

registerProtocolHandlerRequest QML Value Type

registerProtocolHandlerRequest型は、registerProtocolHandlerAPIからのリクエストの受け入れや拒否を可能にする。詳細

Import Statement: import QtWebEngine
Since: QtWebEngine 1.7
In C++: QWebEngineRegisterProtocolHandlerRequest

プロパティ

方法

詳細説明

WebEngineView::registerProtocolHandlerRequested()も参照

プロパティの説明

origin : url [read-only]

プロトコルハンドラのURLテンプレート。

これは、registerProtocolHandler呼び出しの2番目のパラメータです。

scheme : string [read-only]

プロトコルハンドラのURLスキーム。

これはregisterProtocolHandler呼び出しの最初のパラメータです。

メソッドのドキュメント

void accept()

リクエストを受け付ける。

それ以降の accept() およびreject() の呼び出しは無視される。

void reject()

リクエストを受け付ける。

それ以降のaccept()とreject()の呼び出しは無視される。

© 2026 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.