A good way to start your KDevPlatform plugin development is to use our plugin example. This can be found in the KDE's kdeexamples repository, you can get it here:
git clone git://anongit.kde.org/kdeexamples
You can just import it with KDevelop and start playing with it :).
Have fun! Aleix