best place for a helper function

Alin M Elena alinm.elena at gmail.com
Fri Mar 1 11:34:54 UTC 2013


>What you could do is to put it inside KTp::Contact and then reimplement avatar() and 
check if the contact is offline and if so, return the greyed avatar. Makes things simpler and 
you don't have to change any other code. 


Alin




-- 
Without Questions there are no Answers!
______________________________________________________________________
Alin Marin ELENA
Advanced Molecular Simulation Research Laboratory
School of Physics, University College Dublin
----
Ardionsamblú Móilíneach Saotharlann Taighde
Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

-----------------------------------------------------------------------------------
http://alin.elenaworld.net
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130301/fe4128e0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2033 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130301/fe4128e0/attachment.p7s>


More information about the KDE-Telepathy mailing list