author | alwin <alwin> | 2004-02-20 03:06:34 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-20 03:06:34 (UTC) |
commit | 132f53a7c9cdc3e14a040558f80bb45ceb3ca9b5 (patch) (side-by-side diff) | |
tree | 959a36e8388e78085562d96b988c1137fa0d4548 /noncore/net/mail/addresspicker.cpp | |
parent | cb6a133e6c640e5a26de329bfb907c551a6158e4 (diff) | |
download | opie-132f53a7c9cdc3e14a040558f80bb45ceb3ca9b5.zip opie-132f53a7c9cdc3e14a040558f80bb45ceb3ca9b5.tar.gz opie-132f53a7c9cdc3e14a040558f80bb45ceb3ca9b5.tar.bz2 |
removed usage of libopie - only the stuff from opie2
Diffstat (limited to 'noncore/net/mail/addresspicker.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/addresspicker.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/noncore/net/mail/addresspicker.cpp b/noncore/net/mail/addresspicker.cpp index c6dec35..f4f4cea 100644 --- a/noncore/net/mail/addresspicker.cpp +++ b/noncore/net/mail/addresspicker.cpp @@ -2,14 +2,14 @@ #include <qmessagebox.h> #include <qtextstream.h> #include <qlistbox.h> #include <qfile.h> #include <qpe/resource.h> -#include <opie/ocontactaccess.h> -#include <opie/ocontact.h> +#include <opie2/ocontactaccess.h> +#include <opie2/ocontact.h> #include <stdlib.h> #include "composemail.h" @@ -18,20 +18,21 @@ AddressPicker::AddressPicker( QWidget *parent, const char *name, bool modal, WFl { okButton->setIconSet( Resource::loadPixmap( "enter" ) ); cancelButton->setIconSet( Resource::loadPixmap( "editdelete" ) ); connect(okButton, SIGNAL(clicked()), SLOT(accept())); connect(cancelButton, SIGNAL(clicked()), SLOT(close())); - OContactAccess::List::Iterator it; + Opie::OContactAccess::List::Iterator it; QString lineEmail, lineName, contactLine; /* what name has to set here???? */ - OContactAccess m_contactdb("opiemail"); + Opie::OContactAccess m_contactdb("opiemail"); + QStringList mails; QString pre,suf; - OContactAccess::List m_list = m_contactdb.sorted( true, 0, 0, 0 ); + Opie::OContactAccess::List m_list = m_contactdb.sorted( true, 0, 0, 0 ); for ( it = m_list.begin(); it != m_list.end(); ++it ) { if ((*it).defaultEmail().length()!=0) { mails = (*it).emailList(); if ((*it).fileAs().length()>0) { pre = "\""+(*it).firstName()+" "+(*it).lastName()+"\" <"; suf = ">"; |