Raphael Kubo da Costa <[email protected]> writes: > The documentation for Solid::Ifaces::DeviceManager::devicesFromQuery(), > which is called by Solid::Device::listFromType(), seems to state that > the parameters `parentUdi' and `type' are parsed separately, and the > method returns the union of the sets found by each of them. In other > words, if I pass a non-empty QString to `parentUdi' and pass > Solid::DeviceInterface::Unknown to `type', I should get all devices > (regardless of their type) which have the given parent.
Actually, none of the backends seem to advertise Solid::DeviceInterface::Unknown as a supported interface, so right now passing that as the type to listFromType will always return an empty list, so the whole semantics are even stranger than I had thought. _______________________________________________ Kde-hardware-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-hardware-devel
