summaryrefslogtreecommitdiffabout
path: root/plugindtmkabc/qtopiaaddressee.cpp
authorzautrix <zautrix>2004-07-01 19:28:46 (UTC)
committer zautrix <zautrix>2004-07-01 19:28:46 (UTC)
commitdf5b4df6bc00ea8acfee0b11a335a9d2f39d04dc (patch) (unidiff)
tree34a8459c68c1fdd849006452c45f34a5ad38eaab /plugindtmkabc/qtopiaaddressee.cpp
parent574570db1963fd729bb40a778ae3fc6a71ffc221 (diff)
downloadkdepimpi-df5b4df6bc00ea8acfee0b11a335a9d2f39d04dc.zip
kdepimpi-df5b4df6bc00ea8acfee0b11a335a9d2f39d04dc.tar.gz
kdepimpi-df5b4df6bc00ea8acfee0b11a335a9d2f39d04dc.tar.bz2
Added missing DTM plugin
Diffstat (limited to 'plugindtmkabc/qtopiaaddressee.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--plugindtmkabc/qtopiaaddressee.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugindtmkabc/qtopiaaddressee.cpp b/plugindtmkabc/qtopiaaddressee.cpp
new file mode 100644
index 0000000..e8e49f5
--- a/dev/null
+++ b/plugindtmkabc/qtopiaaddressee.cpp
@@ -0,0 +1,26 @@
1#include "qtopiaaddressee.h"
2
3QtopiaAddressee::QtopiaAddressee(const QStringList& contact) {
4 setPimContact(contact);
5}
6
7QtopiaAddressee::QtopiaAddressee() {
8 empty = true;
9}
10
11void QtopiaAddressee::setPimContact(const QStringList& contact) {
12 if ( contact[40].isEmpty() )
13 id = contact[0];
14 else
15 id = contact[40];
16 fName = contact[2];
17 rName = contact[2];
18 pEmail = contact[40];
19 empty = false;
20 mails.clear();
21 mobilehomephone = contact[30] ;
22 workphone = contact[16];
23 homephone = contact[31];
24 //mails = pimContact.emailList();
25}
26