Review Request 109231: new method for KTp::Contact avatarPixmap() part 1

Martin Klapetek martin.klapetek at gmail.com
Fri Mar 1 16:54:58 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109231/#review28345
-----------------------------------------------------------



KTp/contact.h
<http://git.reviewboard.kde.org/r/109231/#comment21152>

    Watch out for these changes



KTp/contact.h
<http://git.reviewboard.kde.org/r/109231/#comment21153>

    Make it const



KTp/contact.h
<http://git.reviewboard.kde.org/r/109231/#comment21154>

    Write the variable name here



KTp/contact.cpp
<http://git.reviewboard.kde.org/r/109231/#comment21155>

    Unwanted changes



KTp/contact.cpp
<http://git.reviewboard.kde.org/r/109231/#comment21157>

    you can call just avatarToGray(avatar); here



KTp/contact.cpp
<http://git.reviewboard.kde.org/r/109231/#comment21156>

    QPixmap& avatar -> QPixmap &avatar



KTp/contact.cpp
<http://git.reviewboard.kde.org/r/109231/#comment21159>

    Why do you need alpha mask?


- Martin Klapetek


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/3b73190c/attachment-0001.html>


More information about the KDE-Telepathy mailing list