Review Request 108790: Add a class to instantly access the grouped, filtered contacts list model without having to handle proxies ourselves
David Edmundson
david at davidedmundson.co.uk
Wed Feb 6 22:03:14 UTC 2013
> On Feb. 4, 2013, 11:28 p.m., Dan Vrátil wrote:
> > KTp/Models/contacts-model.h, line 56
> > <http://git.reviewboard.kde.org/r/108790/diff/1/?file=112172#file112172line56>
> >
> > Should this be a Q_PROPERTY?
Yes :)
> On Feb. 4, 2013, 11:28 p.m., Dan Vrátil wrote:
> > KTp/Models/contacts-model.cpp, line 37
> > <http://git.reviewboard.kde.org/r/108790/diff/1/?file=112173#file112173line37>
> >
> > Shouldn't this be called after you call d->source->setAccountManager()?
No. That would potentially cause us to emit onRowInserted() for the list.. only to reset and build a tree.
Good question though, I'll add a comment.
- David
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108790/#review26650
-----------------------------------------------------------
On Feb. 4, 2013, 11:02 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108790/
> -----------------------------------------------------------
>
> (Updated Feb. 4, 2013, 11:02 p.m.)
>
>
> Review request for Telepathy.
>
>
> Description
> -------
>
> Add a class to instantly access the grouped, filtered contacts list model without having to handle proxies manually.
> This was previously used in ktp-contact-list during porting.
>
> Longer term this will also handle including the MessageModelSource proxy, and possible KPeople.
>
>
> Diffs
> -----
>
> KTp/Models/CMakeLists.txt a95e0c19c816f0cb8a465614fa7e1adecb6d58d1
> KTp/Models/contacts-model.h 2a9cf44736e6e3aea5f92eb09e6840314ba94247
> KTp/Models/contacts-model.cpp 5eb37b1755d3b69961fbed4131ab470c252a29ba
>
> Diff: http://git.reviewboard.kde.org/r/108790/diff/
>
>
> Testing
> -------
>
> Used in the contact-list for a month :)
>
>
> Thanks,
>
> David Edmundson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130206/91f95fb2/attachment.html>
More information about the KDE-Telepathy
mailing list