author | zautrix <zautrix> | 2004-07-01 19:28:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-01 19:28:46 (UTC) |
commit | df5b4df6bc00ea8acfee0b11a335a9d2f39d04dc (patch) (side-by-side diff) | |
tree | 34a8459c68c1fdd849006452c45f34a5ad38eaab /plugindtmkabc/qtopiaaddressee.cpp | |
parent | 574570db1963fd729bb40a778ae3fc6a71ffc221 (diff) | |
download | kdepimpi-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.cpp | 26 |
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 @@ +#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(); +} + |