RegisterProtocolHandlerRequest QML Type
Der Typ RegisterProtocolHandlerRequest ermöglicht das Annehmen oder Ablehnen von Anfragen von der registerProtocolHandler API. Mehr...
| Import Statement: | import QtWebEngine |
| Since: | QtWebEngine 1.7 |
| In C++: | QWebEngineRegisterProtocolHandlerRequest |
Eigenschaften
Methoden
Ausführliche Beschreibung
Siehe auch WebEngineView::registerProtocolHandlerRequested().
Eigenschaft Dokumentation
origin : url |
Die URL-Vorlage für den Protokoll-Handler.
Dies ist der zweite Parameter des registerProtocolHandler-Aufrufs.
scheme : string |
Das URL-Schema für den Protokoll-Handler.
Dies ist der erste Parameter des registerProtocolHandler-Aufrufs.
Dokumentation der Methode
void accept() |
Nimmt die Anfrage an.
Nachfolgende Aufrufe von accept() und reject() werden ignoriert.
void reject() |
Nimmt die Anfrage an.
Nachfolgende Aufrufe von accept() und reject() werden ignoriert.
© 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.