summaryrefslogtreecommitdiff
authoralwin <alwin>2004-02-24 15:23:41 (UTC)
committer alwin <alwin>2004-02-24 15:23:41 (UTC)
commitfe245e127946c1e65003033d07ce26b46dc858f7 (patch) (side-by-side diff)
tree4d79060cfa25a6d44f23b7e53bd196a75efba321
parentbaa8d75be870b7c8fc67b5c719eddf899ca5ecc0 (diff)
downloadopie-fe245e127946c1e65003033d07ce26b46dc858f7.zip
opie-fe245e127946c1e65003033d07ce26b46dc858f7.tar.gz
opie-fe245e127946c1e65003033d07ce26b46dc858f7.tar.bz2
OContactXXX -> OPimContactXXX
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/addresspicker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/mail/addresspicker.cpp b/noncore/net/mail/addresspicker.cpp
index 8cdabde..35f9cd4 100644
--- a/noncore/net/mail/addresspicker.cpp
+++ b/noncore/net/mail/addresspicker.cpp
@@ -1,52 +1,52 @@
#include "composemail.h"
/* OPIE */
#include <opie2/ocontactaccess.h>
-#include <opie2/ocontact.h>
+#include <opie2/opimcontact.h>
#include <qpe/resource.h>
#include <qpe/qpeapplication.h>
/* QT */
#include <qpushbutton.h>
#include <qmessagebox.h>
#include <qtextstream.h>
#include <qlistbox.h>
#include <qfile.h>
/* STD */
#include <stdlib.h>
AddressPicker::AddressPicker( QWidget *parent, const char *name, bool modal, WFlags flags )
: AddressPickerUI( parent, name, modal, flags )
{
okButton->setIconSet( Resource::loadPixmap( "enter" ) );
cancelButton->setIconSet( Resource::loadPixmap( "editdelete" ) );
connect(okButton, SIGNAL(clicked()), SLOT(accept()));
connect(cancelButton, SIGNAL(clicked()), SLOT(close()));
- Opie::OContactAccess::List::Iterator it;
+ Opie::OPimContactAccess::List::Iterator it;
QString lineEmail, lineName, contactLine;
/* what name has to set here???? */
- Opie::OContactAccess m_contactdb("opiemail");
+ Opie::OPimContactAccess m_contactdb("opiemail");
QStringList mails;
QString pre,suf;
- Opie::OContactAccess::List m_list = m_contactdb.sorted( true, 0, 0, 0 );
+ Opie::OPimContactAccess::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 = ">";
}
else
{
pre = "";
suf = "";
}
QStringList::ConstIterator sit = mails.begin();