LICQ is a GPLed (with some special QPL exceptions for Qt) ICQ clone written mostly in C++. The main GUI is written using the Qt widget set.
LICQ has a lot of plugins such as built in nmap functionality available.