Solid
7#ifndef SOLID_BACKENDS_UDEV_UDEVDEVICE_H
8#define SOLID_BACKENDS_UDEV_UDEVDEVICE_H
13#include <solid/devices/ifaces/device.h>
21class UDevDevice :
public Solid::Ifaces::Device
26 UDevDevice(
const UdevQt::Device device);
27 ~UDevDevice()
override;
29 QString udi()
const override;
31 QString parentUdi()
const override;
33 QString vendor()
const override;
35 QString product()
const override;
37 QString icon()
const override;
39 QStringList emblems()
const override;
41 QString description()
const override;
47 QString device()
const;
49 QVariant property(
const QString &key)
const;
50 QMap<QString, QVariant> allProperties()
const;
51 bool propertyExists(
const QString &key)
const;
53 QString systemAttribute(
const char *attribute)
const;
54 QString deviceName()
const;
55 QString devicePath()
const;
56 int deviceNumber()
const;
58 UdevQt::Device udevDevice();
61 UdevQt::Device m_device;
Type
This enum type defines the type of device interface that a Device can have.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:11 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.