Solid
frontend/storagedrive.h
Type
This enum type defines the type of device interface that a Device can have.
Definition frontend/deviceinterface.h:50
SOLID_NO_EXPORT DeviceInterface(DeviceInterfacePrivate &dd, QObject *backendObject)
Definition frontend/deviceinterface.cpp:14
This class allows applications to deal with devices available in the underlying system.
Definition frontend/device.h:34
This device interface is available on storage devices.
Definition frontend/storagedrive.h:28
bool isInUse() const
Indicates if the storage device is currently in use i.e.
Definition frontend/storagedrive.cpp:61
bool isHotpluggable() const
Indicates if this storage device can be plugged or unplugged while the computer is running.
Definition frontend/storagedrive.cpp:49
DriveType
This enum type defines the type of drive a storage device can be.
Definition frontend/storagedrive.h:69
bool isRemovable() const
Indicates if the media contained by this drive can be removed.
Definition frontend/storagedrive.cpp:43
static Type deviceInterfaceType()
Get the Solid::DeviceInterface::Type of the StorageDrive device interface.
Definition frontend/storagedrive.h:95
Bus
This enum type defines the type of bus a storage device is attached to.
Definition frontend/storagedrive.h:53
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:55:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:55:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.