[Kde-pim] Review Request: Merge "Mailing List Management" into "Folder Properties"
Kevin Krammer
krammer at kde.org
Fri Nov 16 13:20:48 GMT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107341/#review22083
-----------------------------------------------------------
kmail/kmmainwidget.h
<http://git.reviewboard.kde.org/r/107341/#comment16988>
while this will work, why not rename the function to showCollectionProperties and make the slot call that function with QString().
Another option would be to connect both actions to the same slot and store the page to show as user data on the action. The slot could then retrieve that independent of which action called it
kmail/kmmainwidget.cpp
<http://git.reviewboard.kde.org/r/107341/#comment16989>
The other slot only checks mCurrentFolder. do we need the mFolderTreeWidget check for some specific reason?
kmail/kmmainwidget.cpp
<http://git.reviewboard.kde.org/r/107341/#comment16987>
you could just add it to the job as a property, like it is already done for collectionId
- Kevin Krammer
On Nov. 16, 2012, 12:20 p.m., Jonathan Marten wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/107341/
> -----------------------------------------------------------
>
> (Updated Nov. 16, 2012, 12:20 p.m.)
>
>
> Review request for KDEPIM.
>
>
> Description
> -------
>
> This change merges the separate "Mailing List Management" dialogue into a tab of "Folder Properties", and also corrects its layout.
>
> In order to maintain the same user experience, the actions and menu structure remain unchanged. The "Mailing List Management" option in the "Folder" menu opens the "Folder Properties" dialogue at the appropriate tab (this requires the change to kdepimlibs submitted at https://git.reviewboard.kde.org/r/106623/).
>
> The file that managed the dialogue (now the tab) is mostly unchanged, just renamed and with the corresponding class name changed. Reviewboard doesn't detect that, hence the big diff.
>
> In kmmainwidget, the signature of an existing function is changed. This is not BC, but I'm assuming that this is not a problem in application code. There is a BC-compatible way (but not SC) that this could be done if necessary.
>
>
> This addresses bug 115611.
> http://bugs.kde.org/show_bug.cgi?id=115611
>
>
> Diffs
> -----
>
> kmail/CMakeLists.txt 588d63a
> kmail/collectionmailinglistpage.h PRE-CREATION
> kmail/collectionmailinglistpage.cpp PRE-CREATION
> kmail/kmmainwidget.h 390d232
> kmail/kmmainwidget.cpp a3668d5
> kmail/mailinglistpropertiesdialog.h 949566d
> kmail/mailinglistpropertiesdialog.cpp b5b2998
>
> Diff: http://git.reviewboard.kde.org/r/107341/diff/
>
>
> Testing
> -------
>
> Built kdepim with this change, checked operation of dialogue and mailing list functions.
>
>
> Thanks,
>
> Jonathan Marten
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list