blob: 3fe85e5967434e77cdf7ceef2ff2507c0c40028b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "qtopiaaddressee.h"
QtopiaAddressee::QtopiaAddressee(const PimContact & pimContact) {
setPimContact(pimContact);
}
QtopiaAddressee::QtopiaAddressee() {
empty = true;
}
void QtopiaAddressee::setPimContact(const PimContact &pimContact) {
id = pimContact.defaultEmail();
fName = pimContact.lastName() + ", " + pimContact.firstName();
rName = pimContact.fullName();
pEmail = pimContact.defaultEmail();
empty = false;
mails.clear();
mails = pimContact.emailList();
}
|