Declarative appletscript: last touches
Aaron J. Seigo
aseigo at kde.org
Thu Dec 9 01:28:22 CET 2010
On Wednesday, December 8, 2010, Marco Martin wrote:
> On Thursday 09 December 2010, Aaron J. Seigo wrote:
> > On Wednesday, December 8, 2010, Marco Martin wrote:
> > > import "../../generic/ui/"
> >
> > i take it that "../../generic/ui/" has to be a string literal in the QML
> > file? and that it doesn't accept URLs (thereby going through the network
> > access implementation)? if so, that would seem to be a major flaw in QML
> > as it currently stands.
>
> it is possible, however only for full folders.
> now i'm using a way i didn't tought before:
>
> import "plasmapackage:/ui/MeegoComponents"
>
> in generic/ui there will be a MeegoComponents subfolder (in this case a
> qmldirs file listing everything is needed) that folder will have a
> fallback. it's better than nothing but still not overly pretty.
and we can always improve the underneath later, what's more important is
having a non-fugly-api for the plasmoids we have to support forever on.
sounds like a reasonable compromise.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101208/417b67ca/attachment.sig
More information about the Plasma-devel
mailing list