Review Request: Add group online/total users count

Martin Klapetek martin.klapetek at gmail.com
Thu Jun 9 12:22:53 CEST 2011



> On June 9, 2011, 10:12 a.m., David Edmundson wrote:
> > account-filter-model.cpp, line 74
> > <http://git.reviewboard.kde.org/r/101559/diff/1/?file=24117#file24117line74>
> >
> >     Why this?
> >     
> >     You've added a role for getting that info.
> >     AccountsModel::OnlineUsersCountRole:
> >     
> >     Related: I don't think groupsmodelitem.h needs to be in the filter at all.

Actually that triggers the recount, not getting the info. Although on a second thought, this should be useless now.


> On June 9, 2011, 10:12 a.m., David Edmundson wrote:
> > accounts-model-item.cpp, line 404
> > <http://git.reviewboard.kde.org/r/101559/diff/1/?file=24119#file24119line404>
> >
> >     This isn't the same as used in the filter. 
> >     
> >     The filter also checks for Unknown. 
> >     
> >     They should be consistent. (which could be removing it from the filter) Otherwise we could potentially see (5/6)  only show 4 items.

Indeed. Good catch.


> On June 9, 2011, 10:12 a.m., David Edmundson wrote:
> > groups-model-item.cpp, line 36
> > <http://git.reviewboard.kde.org/r/101559/diff/1/?file=24123#file24123line36>
> >
> >     hate to write this one but:
> >     
> >     TpQt4 coding style seems to be
> >     
> >     mSomethingSomething instead of our
> >     
> >     m_somethingSomething. 
> >     
> >     We should stick to the TpQt4 style in this class (if we want merging)

Right. 


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101559/#review3800
-----------------------------------------------------------


On June 9, 2011, 9:15 a.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101559/
> -----------------------------------------------------------
> 
> (Updated June 9, 2011, 9:15 a.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Summary
> -------
> 
> This patch adds numbers to group headers in "(online users/total users in group)" scheme. Also it allows to filter out empty groups.
> 
> 
> Diffs
> -----
> 
>   abstract-contact-delegate.cpp db2f3de 
>   account-filter-model.cpp 2542ae6 
>   accounts-model-item.h 54d8f87 
>   accounts-model-item.cpp 6facdea 
>   accounts-model.h 96e8994 
>   accounts-model.cpp 47fc697 
>   groups-model-item.h 63f3973 
>   groups-model-item.cpp 6eec952 
>   groups-model.cpp 46631e4 
>   main-widget.cpp 7c65760 
> 
> Diff: http://git.reviewboard.kde.org/r/101559/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-telepathy/attachments/20110609/e6ac646b/attachment-0001.htm 


More information about the KDE-Telepathy mailing list