components components components
Martin Gräßlin
mgraesslin at kde.org
Mon Oct 31 18:22:17 UTC 2011
On Monday 31 October 2011 17:52:27 Marco Martin wrote:
> comments? any less violent way to achieve this? ;)
just an idea, don't know if it would work:
Plasma.DeviceSpecificItem {
property ComponentType type: desktop
Loader {
source: {
switch (type) {
case desktop:
return "path/to/desktop/impl";
case tablet:
return "path/to/tablet/impl";
}
}
}
}
so to say each component is just a wrapper around the specific
implementations. It's not nice, but maybe better than overwriting files...
Cheers
Martin
-------------- 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/active/attachments/20111031/73bf1c7a/attachment-0001.sig>
More information about the Active
mailing list