Getting access to parent device in a Solid predicate

Kevin Ottens ervin at kde.org
Sun Jan 17 11:22:42 GMT 2010


On Monday 28 December 2009 16:33:48 Aurélien Gâteau wrote:
> I need to react on the StorageVolume, not the StorageDrive, but I don't
> think it is possible right now to write a Solid predicate which checks
> the property of the parent device. Am I wrong?

You're perfectly right. So far nobody really needed to have access to the 
parent, hence why it's not there. But I'm perfectly OK with seeing this 
feature appear in the predicate parser. I've not time for it now though, but 
I'll hppily review patches. ;-)

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100117/3d7b9f18/attachment.sig>


More information about the kde-core-devel mailing list