#include "qtopiaaddressee.h" QtopiaAddressee::QtopiaAddressee(const QStringList& contact) { setPimContact(contact); } QtopiaAddressee::QtopiaAddressee() { empty = true; } void QtopiaAddressee::setPimContact(const QStringList& contact) { if ( contact[40].isEmpty() ) id = contact[0]; else id = contact[40]; fName = contact[2]; rName = contact[2]; pEmail = contact[40]; empty = false; mails.clear(); mobilehomephone = contact[30] ; workphone = contact[16]; homephone = contact[31]; //mails = pimContact.emailList(); }