class 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 udi - the UDI of the volume |
|
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 false if the operation is not supported, true if the operation is attempted |
|
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 udi - the UDI of the volume |
|
Unmounts the volume.
Returns false if the operation is not supported, true if the operation is attempted |
|
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 udi - the UDI of the volume |