Review Request 109231: new method for KTp::Contact avatarPixmap() part 1
David Edmundson
david at davidedmundson.co.uk
Fri Mar 1 16:56:49 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109231/#review28346
-----------------------------------------------------------
KTp/contact.cpp
<http://git.reviewboard.kde.org/r/109231/#comment21158>
This all needs to go into a QPixmapCache.
Otherwise it'll be run each time. You can use the use the avatarToken + "-offline" as the key.
Files are implicitly cached, the output of this won't be.
- David Edmundson
On March 1, 2013, 4:46 p.m., Alin M Elena wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109231/
> -----------------------------------------------------------
>
> (Updated March 1, 2013, 4:46 p.m.)
>
>
> Review request for Telepathy, David Edmundson and Dan Vrátil.
>
>
> Description
> -------
>
> adds a method avatarPixmap() to KTp::Contact which returns a colour or gray pixmap based on presence, to be used by contact list.
>
>
> This addresses bug 315965.
> http://bugs.kde.org/show_bug.cgi?id=315965
>
>
> Diffs
> -----
>
> KTp/Models/contacts-list-model.cpp 692bcfd
> KTp/contact.h c332c7d
> KTp/contact.cpp 0602200
> KTp/types.h 4ef0002
>
> Diff: http://git.reviewboard.kde.org/r/109231/diff/
>
>
> Testing
> -------
>
> implemented in contact list and works...
>
>
> Thanks,
>
> Alin M Elena
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130301/cf1b52c6/attachment.html>
More information about the KDE-Telepathy
mailing list