Activities API

Martin Graesslin mgraesslin at kde.org
Thu Sep 12 14:19:18 UTC 2013


On Thursday 12 September 2013 15:51:55 Aaron J. Seigo wrote:
> On Thursday, September 12, 2013 15:26:50 Marco Martin wrote:
> > in general to c++ it's maybe slightly clunkier, since one has to call
> > model-> 
> > >data(role) and then try to convert the qvariant.
> > 
> > (perhaps it may have some api to ease fetch data from c++)
> > 
> > on QML... would be awesome :D
> 
> i’d be lazy (the programmer’s mantra? ;) and not bother with any such API
> until it is shown to be necessary. i would not be surprised if every user of
> KActivities::Info ends up being some QML code somewhere.
do you want to be proofed wrong? ;-) kwin/useractions.cpp line 691 following 
(frameworks-scratch branch)

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/plasma-devel/attachments/20130912/54cfaa2d/attachment.sig>


More information about the Plasma-devel mailing list