Adapt to kdevplatform API changes