Solid
fakedevice.cpp
38 d->interfaceList = d->propertyMap[QStringLiteral("interfaces")].toString().simplified().split(QLatin1Char(','));
44 QDBusConnection::sessionBus().registerObject(udi, this, QDBusConnection::ExportNonScriptableSlots);
56 connect(d.data(), SIGNAL(propertyChanged(QMap<QString, int>)), this, SIGNAL(propertyChanged(QMap<QString, int>)));
57 connect(d.data(), SIGNAL(conditionRaised(QString, QString)), this, SIGNAL(conditionRaised(QString, QString)));
64 connect(d.data(), SIGNAL(propertyChanged(QMap<QString, int>)), this, SIGNAL(propertyChanged(QMap<QString, int>)));
65 connect(d.data(), SIGNAL(conditionRaised(QString, QString)), this, SIGNAL(conditionRaised(QString, QString)));
155 Solid::GenericInterface::PropertyChange change_type = Solid::GenericInterface::PropertyModified;
295 QDBusConnection::sessionBus().registerObject(d->udi + QLatin1Char('/') + Solid::DeviceInterface::typeToString(type),
static QString typeToString(Type type)
Definition frontend/deviceinterface.cpp:35
Type
This enum type defines the type of device interface that a Device can have.
Definition frontend/deviceinterface.h:50
static Type stringToType(const QString &type)
Definition frontend/deviceinterface.cpp:42
This class allows applications to deal with devices available in the underlying system.
QString udi() const
Retrieves the Universal Device Identifier (UDI).
Definition frontend/device.cpp:68
PropertyChange
This enum type defines the type of change that can occur to a GenericInterface property.
Definition frontend/genericinterface.h:47
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
ExportNonScriptableSlots
UnregisterTree
bool registerObject(const QString &path, QObject *object, RegisterOptions options)
QDBusConnection sessionBus()
void unregisterObject(const QString &path, UnregisterMode mode)
Q_EMITQ_EMIT
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:08:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:08:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.