RegisterProtocolHandlerRequest QML Type

등록 프로토콜 핸들러 요청 유형은 등록 프로토콜 핸들러 API의 요청을 수락하거나 거부할 수 있습니다. 더 보기...

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

속성

방법

자세한 설명

WebEngineView::registerProtocolHandlerRequested()도 참조하세요 .

속성 문서

origin : url [read-only]

프로토콜 핸들러의 URL 템플릿입니다.

등록 프로토콜 핸들러 호출의 두 번째 파라미터입니다.


scheme : string [read-only]

프로토콜 핸들러의 URL 체계입니다.

등록 프로토콜 핸들러 호출의 첫 번째 파라미터입니다.


메서드 문서

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.