WHAT RULES I SHOULD FOLLOW WHEN I WANT TO WORK ON SOMETHING FOR KDE TEAM?
If you asked this question, you want to read:

http://wiki.gentoo.org/wiki/Project:KDE/Coding_style 

# NOT FOLLOWING THESE RULES WILL BE PUNISHED!
# No cookies for week!