Code reformatted using kde-dev-scripts/astyle-kdelibs