Solid
storagedrive.cpp
Go to the documentation of this file.
DeviceInterface(DeviceInterfacePrivate &dd, QObject *backendObject)
Definition deviceinterface.cpp:29
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
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-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.