Pages
API Documentation
On this page

Solid Namespace

Hardware Abstraction Framework. More...

  • Header: #include <Solid/SolidNamespace>
  • CMake: find_package(KF6 REQUIRED COMPONENTS Solid)
    target_link_libraries(mytarget PRIVATE KF6::Solid)

Detailed Description

Classes

class Battery

This device interface is available on batteries.

class Block

This device interface is available on block devices.

class Camera

This device interface is available on digital camera devices.

class Device

Allows applications to deal with devices available in the underlying system.

class DeviceInterface

Base class of all device interfaces.

class DeviceNotifier

This class allow to query the underlying system for information about the hardware available.

class GenericInterface

Generic interface to deal with a device.

class NetworkShare

This device interface is available for network share volumes.

class OpticalDisc

This device interface is available on optical discs.

class OpticalDrive

This device interface is available on CD-R*,DVD*,Blu-Ray,HD-DVD drives.

class PortableMediaPlayer

This class implements Portable Media Player device interface and represents a portable media player attached to the system.

class Predicate

This class implements predicates for devices.

class Processor

This device interface is available on processors.

class StorageAccess

This device interface is available on volume devices to access them (i.e. mount or unmount them).

class StorageDrive

This device interface is available on storage devices.

class StorageVolume

This device interface is available on volume devices.

Type Documentation

enum Solid::ErrorType

Constant
Solid::NoError 0
Solid::UnauthorizedOperation 1
Solid::DeviceBusy 2
Solid::OperationFailed 3
Solid::UserCanceled 4
Solid::InvalidOption 5
Solid::MissingDriver 6
We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.