[Kde-pim] Review Request 114838: Coding Style for smsdialog.cpp

Guy Maurel guy-kde at maurel.de
Sat Jan 4 16:47:23 GMT 2014


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

(Updated Jan. 4, 2014, 4:47 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDEPIM-Libraries, Kevin Krammer and Laurent Montel.


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/actions/smsdialog.cpp fe99309 

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