IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

RegisterProtocolHandlerRequest QML Type

The RegisterProtocolHandlerRequest type enables accepting or rejecting requests from the registerProtocolHandler API.

This type was introduced in QtWebEngine 1.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

RegisterProtocolHandlerRequest QML Type

Detailed Description

Property Documentation

 

[read-only] origin : url

The URL template for the protocol handler.

This is the second parameter from the registerProtocolHandler call.

[read-only] scheme : string

The URL scheme for the protocol handler.

This is the first parameter from the registerProtocolHandler call.

Method Documentation

 

void accept()

Accepts the request.

Subsequent calls to accept() and reject() are ignored.

void reject()

Accepts the request.

Subsequent calls to accept() and reject() are ignored.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+