(Hopefully) changed the added code according to the kdelibs coding style.