[Kde-pim] Review Request 114945: Coding Style for customfieldsdelegate.cpp
Guy Maurel
guy-kde at maurel.de
Tue Feb 25 17:58:50 GMT 2014
> On Feb. 25, 2014, 5:51 p.m., Kevin Krammer wrote:
> > akonadi/contact/editor/customfieldsdelegate.cpp, line 62
> > <https://git.reviewboard.kde.org/r/114945/diff/3/?file=246051#file246051line62>
> >
> > and have the closing brace on the same level as the case?
Correct.
BUT, what you see NOW is the result of the output of astyle, a little bit different.
I think, it is OK. And I do not have any tool to do it "better" as now.
- Guy
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/114945/#review50852
-----------------------------------------------------------
On Feb. 25, 2014, 5:37 p.m., Guy Maurel wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/114945/
> -----------------------------------------------------------
>
> (Updated Feb. 25, 2014, 5:37 p.m.)
>
>
> Review request for KDEPIM-Libraries and Kevin Krammer.
>
>
> Repository: kdepimlibs
>
>
> Description
> -------
>
> # Using:
> astyle \
> --indent=spaces --max-instatement-indent=80 --indent-cases \
> --pad-header --pad-oper --unpad-paren \
> --align-pointer=name --align-reference=name \
> --max-instatement-indent=80 --min-conditional-indent=1 \
> $1
> #
> # correct the SIGNAL and SLOT macros:
> normalize --modify $1
> #
> # change " & " to " &"
> gawk -f ${DIR}/Change-spaceANDspace.awk $1 > $1-a
> mv $1-a $1
> #
> # change "[ " to "[" and " ]" to "]"
> gawk -f ${DIR}/spaceInArray-change.awk ${WHERE} > ${WHERE}-k
> mv ${WHERE}-k ${WHERE}
> #
> # delete one line if two empties lines are present
> gawk -f ${DIR}/Twice-change.awk $1 > $1-a
> mv $1-a $1
> #
> # delete first/last empty line(s)
> gawk -f ${DIR}/First-change.awk ${WHERE} > ${WHERE}-c
> mv ${WHERE}-c ${WHERE}
> #
> # lines with initialization(s)
> gawk -f ${DIR}/Default-1-change.awk < ${WHERE} > ${WHERE}-d1
> mv ${WHERE}-d1 ${WHERE}
> gawk -f ${DIR}/Default-2-change.awk < ${WHERE} > ${WHERE}-d2
> mv ${WHERE}-d2 ${WHERE}
> #
> # change <SPACE> after keyword
> ${DIR}/coding-style-change-SpaceAfter.sh ${WHERE}
>
>
> Diffs
> -----
>
> akonadi/contact/editor/customfieldsdelegate.cpp 553ad64
>
> Diff: https://git.reviewboard.kde.org/r/114945/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Guy Maurel
>
>
_______________________________________________
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