class Solid.StorageAccess |
|
|
This device interface is available on volume devices. A volume is anything that can contain data (partition, optical disc, memory card). It's a particular kind of block device. |
|
Creates a new StorageAccess object. You generally won't need this. It's created when necessary using Device.as().
backendObject - the device interface object provided by the backend See also Solid.Device.as() |
|
Internal |
|
This signal is emitted when the accessiblity of this device has changed.
accessible - true if the volume is accessible, false otherwise |
|
Get the Solid.DeviceInterface.Type of the StorageAccess device interface. Returns the StorageVolume device interface type See also Solid.Ifaces.Enums.DeviceInterface.Type |
|
Retrieves the absolute path of this volume mountpoint. Returns the absolute path to the mount point if the volume is mounted, QString() otherwise |
|
Indicates if this volume is mounted. Returns true if the volume is mounted |
|
Mounts the volume. Returns the job handling the operation |
|
This signal is emitted when the attempted setting up of this device is completed.
error - type of error that occurred, if any errorData - more information about the error, if any |
|
Unmounts the volume. Returns the job handling the operation |
|
This signal is emitted when the attempted tearing down of this device is completed.
error - type of error that occurred, if any errorData - more information about the error, if any |