Fix compiler error.

I had to declare this function to get it to compile.

No doubt this should be scoped with a KDEV_PLUGIN_VERSION, but I don't know what version the function is available in. :smile: