On Thursday 21 June 2007 04:35:05 Olivier Goffart wrote:
> Le mercredi 20 juin 2007, Gustavo Pichorim Boiko a écrit :
> > Hello
> >
> > While working on the identity refactoring, I saw that
> > Kopete::OnlineStatus keeps a pointer of the protocol.
> >
> > It uses the protocol just to get some icons, and such icons are not
> > widely used in kopete.
> > The problem is that an identity doesn't have an specific protocol;
> >
> > Would someone mind if I remove the dependency of OnlineStatus on
> > Kopete::Protocol and adapt the places where those icons were used not to
> > use the icon from protocol?
>
> Don't forget that each contact has one online status.  And so the light or
> the butterfly need to have the "status mark"
> Each protocol has different online status set (while certain are in common)
>
> If this is needed, one can anyway have certain instance of OnlineStatus
> without protocol (where protocol=0) which represent global online status.
>
> But i'm not sure it is required to have one online status per identity,
> maybe one OnlineStatus::Category  is enough

Maybe you are right. I will check this.

Thanks a lot

Cheers
-- 
Gustavo Pichorim Boiko
-----------------------------------
KDE Developer      www.kde.org
Mandriva Labs      www.mandriva.com
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to