[Kde-pim] Review Request 114857: Coding Style for imeditordialog.cpp

Kevin Krammer krammer at kde.org
Sat Jan 4 17:25:06 GMT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/114857/#review46801
-----------------------------------------------------------



akonadi/contact/editor/im/imeditordialog.cpp
<https://git.reviewboard.kde.org/r/114857/#comment33415>

    I am not sure if this needs intendation so deep.
    "this" was previously 8 spaced inside the if() which should still be OK.
    the only adjustment would be the 2->4 spaces at the beginning of each line


- Kevin Krammer


On Jan. 4, 2014, 5:14 p.m., Guy Maurel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/114857/
> -----------------------------------------------------------
> 
> (Updated Jan. 4, 2014, 5:14 p.m.)
> 
> 
> Review request for KDEPIM-Libraries, Kevin Krammer and Jonathan Marten.
> 
> 
> 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 \
>     $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
> #
> # 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}
> 
> 
> Diffs
> -----
> 
>   akonadi/contact/editor/im/imeditordialog.cpp 38ecc64 
> 
> Diff: https://git.reviewboard.kde.org/r/114857/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