[Bug 31195] Implement models

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 12 01:39:20 CET 2011


--- Comment #12 from Alvaro Soliverez <alvaro.soliverez at collabora.co.uk> 2011-01-11 16:39:19 PST ---
Why are implementation helper functions like AccountsModelItem::clearContacts
and addKnownContacts public?

This was implemented this way to force a reset of the model in some situations,
due to some shortcomings of the Qt MVC model. Specifically, logging an account
an account in and out was not refreshing the model properly. It can probably be
implemented internally now that 4.7.1 is out.

What's the rationale for (dis)connectChannelQueue()?

This was done for those case where you don't want  the messageQueue to be
acknowledged automatically. Say, you open a chat, ack all pending messages,
then hide it, and you don't want the messages to be ack'd automatically until
you show the chat message again.

As for your other comments, I agree. Particularly the ones referring to the
status message. It's not working ok anyway, so we might as well follow the API.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the telepathy-bugs mailing list