101
101
// create new contact instance and add it to the dictionary
102
102
JabberContact *newContact = new JabberContact ( contact, transport ? (Kopete::Account*)transport : (Kopete::Account*)mAccount, metaContact , legacyId );
103
103
JabberContactPoolItem *newContactItem = new JabberContactPoolItem ( newContact );
104
connect ( newContact, SIGNAL ( contactDestroyed ( Kopete::Contact * ) ), this, SLOT ( slotContactDestroyed ( Kopete::Contact * ) ) );
104
connect ( newContact, SIGNAL (contactDestroyed(Kopete::Contact*)), this, SLOT (slotContactDestroyed(Kopete::Contact*)) );
105
105
newContactItem->setDirty ( dirty );
106
106
mPool.append ( newContactItem );