The icons are very likely loaded from the standard KDE icon directories or the Kontact application data directory.
See
kde-config --path icon
and
kde-config --path data
for list of applicable directories.
The appearance of the contacts could be a stylesheet or HTML template, also somewhere in Kontact's or KAddressBook's directory
cheers,
_