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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
