Hi Quhan, On Friday 30 April 2010 19:50:27 quhan wrote: > I want to write a protocol plugin for kopete. But I dont know how to start. > I dont know which is neccessary for a plugin, I think I need a manual or > teach book. But I cant find it by google. > > Can someone help me? thanks >
I'd suggest you to browse through svn and see how other protocol plugins are made. http://websvn.kde.org/trunk/KDE/kdenetwork/kopete/protocols Basically this is what you need to subclass and provide at least all virtual functions (you will need more, but to get the basic idea this is a good start): http://api.kde.org/4.x-api/kdenetwork- apidocs/kopete/libkopete/html/classKopete_1_1Protocol.html To let Kopete find and load the plugin you need to provide a .desktop file similar to other protocols. Hope this helps to get you started. Michael
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel