summaryrefslogtreecommitdiffabout
path: root/pluginqtopiakabc/qtopiaaddressee.cpp
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /pluginqtopiakabc/qtopiaaddressee.cpp
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
Diffstat (limited to 'pluginqtopiakabc/qtopiaaddressee.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pluginqtopiakabc/qtopiaaddressee.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/pluginqtopiakabc/qtopiaaddressee.cpp b/pluginqtopiakabc/qtopiaaddressee.cpp
new file mode 100644
index 0000000..3fe85e5
--- a/dev/null
+++ b/pluginqtopiakabc/qtopiaaddressee.cpp
@@ -0,0 +1,20 @@
1#include "qtopiaaddressee.h"
2
3QtopiaAddressee::QtopiaAddressee(const PimContact & pimContact) {
4 setPimContact(pimContact);
5}
6
7QtopiaAddressee::QtopiaAddressee() {
8 empty = true;
9}
10
11void QtopiaAddressee::setPimContact(const PimContact &pimContact) {
12 id = pimContact.defaultEmail();
13 fName = pimContact.lastName() + ", " + pimContact.firstName();
14 rName = pimContact.fullName();
15 pEmail = pimContact.defaultEmail();
16 empty = false;
17 mails.clear();
18 mails = pimContact.emailList();
19}
20