best place for a helper function

David Edmundson david at davidedmundson.co.uk
Fri Mar 1 13:26:13 UTC 2013


On Fri, Mar 1, 2013 at 1:21 PM, Daniele E. Domenichelli <
daniele.domenichelli at gmail.com> wrote:

> On 01/03/13 14:15, Martin Klapetek wrote:
> > I'm happy to have a method in KTp::Contact returning the pixmap. But
> > that also requires adding a role to the models and changing all the code
> > to either use the new role or the avatar() method.
>
> We had one role (Qt::DecorationRole actually) in the old version of the
> models, I don't remember why David wanted to remove it, but he probably
> had some good reason, so you should wait for his reply...
>

 I think it was changed to work round QML being a bit shoddy. You can't
make an Image from a pixmap. And I wanted to avoid ever having data in
mulitple ways/roles.



>
> Cheers,
>  Daniele
>
> _______________________________________________
> KDE-Telepathy mailing list
> KDE-Telepathy at kde.org
> https://mail.kde.org/mailman/listinfo/kde-telepathy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130301/cc70c074/attachment.html>


More information about the KDE-Telepathy mailing list