Adapt to kdevplatform API changes
Fully adapt to kdevplatform API changes