API Documentation

Documentation for developing SailfishOS applications

StandardPaths QML Type

Exposes the locations of system-standard user directories More...

Import Statement: import Sailfish.Silica 1.0

Properties

Detailed Description

The StandardPaths object provides properties that reference the standard locations for user-specific directories on the system.

This is a singleton object; the StandardPaths type cannot be instantiated.

Property Documentation

cache : string

This property holds the directory where cached data should be written to.


data : string

This holds the directory where persistent application data can be stored. The organizationName and applicationName of the QCoreApplication are appended to the location of the genericData.

See also genericData.


documents : string

This holds the directory for the user's documents.


download : string

This property holds the directory where downloaded files should be written to. Download location is empty when the location cannot be determined.


genericData : string

This holds the directory for storing persistent data that is shared across applications.

See also data.


home : string

This holds the user home directory.


music : string

This holds the directory for the user's music.

This value may be empty.


pictures : string

This holds the directory for the user's pictures.

This value may be empty.


temporary : string

*

This hold a writable temporary location.


videos : string

This holds the directory for the user's videos.


We use cookies to improve your user experience and to help us to develop our services. By continuing to browse the site, you approve of our use of cookies.