From KDE TechBase

    A good way to start your KDevPlatform plugin development is to use our plugin template.

    Create a new project in KDevelop, by selecting in the menu "Project" the entry "New From Template...", then in the dialog find the template in the category "KDevelop", project type "Plugin".

    Complete the creation of the project, build and install the plugin, and start playing with it. :)

    Have fun!