Solid
frontend/storagedrive.cpp
Base class of all the device interfaces.
This class allows applications to deal with devices available in the underlying system.
static QList< Device > listFromQuery(const Predicate &predicate, const QString &parentUdi=QString())
Retrieves a list of devices of the system given matching the given constraints (parent and predicate)
Definition frontend/devicemanager.cpp:104
This device interface is available on storage devices.
Definition ifaces/storagedrive.h:26
This class implements predicates for devices.
This device interface is available on volume devices to access them (i.e.
bool isAccessible() const
Indicates if this volume is mounted.
Definition frontend/storageaccess.cpp:51
This device interface is available on storage devices.
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
Bus
This enum type defines the type of bus a storage device is attached to.
Definition frontend/storagedrive.h:53
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.