[Kde-pim] Review Request 114859: Coding Style for imitemdialog.cpp

Guy Maurel guy-kde at maurel.de
Tue Jan 7 17:24:00 GMT 2014


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

(Updated Jan. 7, 2014, 5:24 p.m.)


Review request for KDEPIM-Libraries, Kevin Krammer and Jonathan Marten.


Changes
-------

Done


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 (updated)
-----

  akonadi/contact/editor/im/imitemdialog.cpp 4f01e80 

Diff: https://git.reviewboard.kde.org/r/114859/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