This is a patch that include an emoticons theme manager into kopete so you can add edit and remove emoticons, you can also add custom emoticons that you receive during a chat by right clicking it
i've also used part of the code of the patch founded here http://rockman.altervista.org/?p=patches.php
in order to apply the patch you have to download kopete svn http://kopete.kde.org/svnaccess.php
and then from kopete directory something like .../kdenetwork/kopete you have to do "patch -p0 < /path/to/kopete.patch"
if you get errors like
undefined reference to `EmoticonsEditDialog::EmoticonsEditDialog(QWidget*, QString, char const*)'
try to to do make -f Makefile.cvs