Solid
storagedrive.cpp
Go to the documentation of this file.
This class allows applications to deal with devices available in the underlying system.
Definition: device.h:49
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: devicemanager.cpp:122
DevIface * as()
Retrieves a specialized interface to interact with the device corresponding to a given device interfa...
Definition: device.h:238
This device interface is available on volume devices to access them (i.e.
Definition: storageaccess.h:43
Definition: storagedrive_p.h:29
This device interface is available on storage devices.
Definition: storagedrive.h:40
bool isInUse() const
Indicates if the storage device is currently in use i.e.
Definition: storagedrive.cpp:77
bool isHotpluggable() const
Indicates if this storage device can be plugged or unplugged while the computer is running.
Definition: storagedrive.cpp:65
DriveType
This enum type defines the type of drive a storage device can be.
Definition: storagedrive.h:78
bool isRemovable() const
Indicates if the media contained by this drive can be removed.
Definition: storagedrive.cpp:59
Bus
This enum type defines the type of bus a storage device is attached to.
Definition: storagedrive.h:63
#define return_SOLID_CALL(Type, Object, Default, Method)
Definition: soliddefs_p.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.