Solid
ifaces/storagedrive.h
This device interface is available on block devices.
Definition ifaces/block.h:24
This device interface is available on storage devices.
Definition ifaces/storagedrive.h:26
virtual QDateTime timeDetected() const
Retrieves the time the drive was detected.
Definition ifaces/storagedrive.cpp:13
virtual bool isRemovable() const =0
Indicates if the media contained by this drive can be removed.
virtual Solid::StorageDrive::DriveType driveType() const =0
Retrieves the type of this storage drive.
virtual Solid::StorageDrive::Bus bus() const =0
Retrieves the type of physical interface this storage device is connected to.
virtual bool isHotpluggable() const =0
Indicates if this storage device can be plugged or unplugged while the computer is running.
virtual qulonglong size() const =0
Retrieves this drives size in bytes.
virtual QDateTime timeMediaDetected() const
Retrieves the time media in the drive was detected.
Definition ifaces/storagedrive.cpp:18
DriveType
This enum type defines the type of drive a storage device can be.
Definition frontend/storagedrive.h:69
Bus
This enum type defines the type of bus a storage device is attached to.
Definition frontend/storagedrive.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.