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