RegisterProtocolHandlerRequest QML Type
RegisterProtocolHandlerRequest型は、registerProtocolHandlerAPIからのリクエストの受け入れや拒否を可能にします。詳細...
| Import Statement: | import QtWebEngine |
| Since: | QtWebEngine 1.7 |
| In C++: | QWebEngineRegisterProtocolHandlerRequest |
プロパティ
方法
詳細説明
WebEngineView::registerProtocolHandlerRequested()も参照 。
プロパティの説明
origin : url |
プロトコルハンドラの URL テンプレート。
これはregisterProtocolHandler呼び出しの2番目のパラメータです。
scheme : string |
プロトコルハンドラのURLスキーム。
これは、registerProtocolHandler呼び出しの最初のパラメータです。
メソッドのドキュメント
void accept() |
リクエストを受け付けます。
それ以降の accept() およびreject() の呼び出しは無視されます。
void reject() |
リクエストを受け付ける。
それ以降のaccept() および reject() への呼び出しは無視されます。
© 2025 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.