Fix pointer alignment for KDELibs code formatting style (bug: 427109)
This merge-request fixes the false code formatting style of the pointer alignment for KDELibs. It was set to PTR_ALIGN_TYPE but it should be PTR_ALIGN_NAME as stated in the Coding Styles.
I also wrote a simple test for pointer alignments.