Review Request 109289: Adds exclusive actions group for contact list grouping
Martin Klapetek
martin.klapetek at gmail.com
Wed Mar 6 12:22:03 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109289/#review28665
-----------------------------------------------------------
contact-list-widget.h
<http://git.reviewboard.kde.org/r/109289/#comment21434>
This should take the respective enums, plus put the variable name here
contact-list-widget.cpp
<http://git.reviewboard.kde.org/r/109289/#comment21430>
This shouldn't be an int but the setting enum (which is an int)
contact-list-widget.cpp
<http://git.reviewboard.kde.org/r/109289/#comment21431>
Same as above - this should be the SubscriptionStateFilterFlag from filter model
contact-list-widget.cpp
<http://git.reviewboard.kde.org/r/109289/#comment21432>
GroupMode from contacts model
contact-list-widget.cpp
<http://git.reviewboard.kde.org/r/109289/#comment21433>
I don't understand this comment. What checks?
main-widget.cpp
<http://git.reviewboard.kde.org/r/109289/#comment21438>
KAction* action -> KAction *action
- Martin Klapetek
On March 6, 2013, 7:31 a.m., Roman Nazarenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109289/
> -----------------------------------------------------------
>
> (Updated March 6, 2013, 7:31 a.m.)
>
>
> Review request for Telepathy.
>
>
> Description
> -------
>
> Adds exclusive actions group for contact list grouping.
> Added enumerated action groups, so we could easily convert checked grouped action into appearance modes.
> Those groups also allow us to replace onFullView/onNormalView slots with one onAppearanceChanged(int), so we can reduce number of manual signal-slot connections (and improve readability and maintainability).
>
> Also moved (config file option name <-> widget text <-> mode enumerator) relations for exclusive action groups into separate static class MenuConfig, so we can avoid manual relations tracking.
>
>
> This addresses bug 279023.
> http://bugs.kde.org/show_bug.cgi?id=279023
>
>
> Diffs
> -----
>
> CMakeLists.txt 5802d32
> action-group-enumerated.h PRE-CREATION
> action-group-enumerated.cpp PRE-CREATION
> contact-list-widget.h ab2191c
> contact-list-widget.cpp f931913
> main-widget.h d72c970
> main-widget.cpp 778c71e
>
> Diff: http://git.reviewboard.kde.org/r/109289/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Roman Nazarenko
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20130306/cadd8602/attachment.html>
More information about the KDE-Telepathy
mailing list