Ubuntu.Components.UriHandler

Singleton signalling for opened URIs. More...

Import Statement: import Ubuntu.Components 1.3

Signals

Detailed Description

UriHandler is a singleton handling opened URIs. The application can be signalled of opened URIs through the opened signal. The content of the "APP_ID" environment variable is used to determine the object path. If the D-Bus session bus is not connected or the "APP_ID" variable is not set or empty, the handler stays uninitialized.

Example of use:

Connections {
target: UriHandler
onOpened: print(uris)
}

Signal Documentation

onOpened(list<string> uris)

The signal is triggered when URIs are opened.