registerProtocolHandlerRequest QML Value 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().
Dokumentation der Eigenschaft
origin : url [read-only]
Die URL-Vorlage für den Protokoll-Handler.
Dies ist der zweite Parameter des registerProtocolHandler-Aufrufs.
scheme : string [read-only]
Das URL-Schema für den Protokoll-Handler.
Dies ist der erste Parameter des registerProtocolHandler-Aufrufs.
Dokumentation der Methode
void accept()
Akzeptiert die Anfrage.
Nachfolgende Aufrufe von accept() und reject() werden ignoriert.
void reject()
Akzeptiert die Anfrage.
Nachfolgende Aufrufe von accept() und reject() werden ignoriert.
© 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.