Diffstat (limited to 'noncore/net/mail/addresspicker.cpp') (more/less context) (show 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 | |||
@@ -5,8 +5,8 @@ | |||
5 | #include <qfile.h> | 5 | #include <qfile.h> |
6 | 6 | ||
7 | #include <qpe/resource.h> | 7 | #include <qpe/resource.h> |
8 | #include <opie/ocontactaccess.h> | 8 | #include <opie2/ocontactaccess.h> |
9 | #include <opie/ocontact.h> | 9 | #include <opie2/ocontact.h> |
10 | 10 | ||
11 | 11 | ||
12 | #include <stdlib.h> | 12 | #include <stdlib.h> |
@@ -21,14 +21,15 @@ AddressPicker::AddressPicker( QWidget *parent, const char *name, bool modal, WFl | |||
21 | 21 | ||
22 | connect(okButton, SIGNAL(clicked()), SLOT(accept())); | 22 | connect(okButton, SIGNAL(clicked()), SLOT(accept())); |
23 | connect(cancelButton, SIGNAL(clicked()), SLOT(close())); | 23 | connect(cancelButton, SIGNAL(clicked()), SLOT(close())); |
24 | OContactAccess::List::Iterator it; | 24 | Opie::OContactAccess::List::Iterator it; |
25 | 25 | ||
26 | QString lineEmail, lineName, contactLine; | 26 | QString lineEmail, lineName, contactLine; |
27 | /* what name has to set here???? */ | 27 | /* what name has to set here???? */ |
28 | OContactAccess m_contactdb("opiemail"); | 28 | Opie::OContactAccess m_contactdb("opiemail"); |
29 | |||
29 | QStringList mails; | 30 | QStringList mails; |
30 | QString pre,suf; | 31 | QString pre,suf; |
31 | OContactAccess::List m_list = m_contactdb.sorted( true, 0, 0, 0 ); | 32 | Opie::OContactAccess::List m_list = m_contactdb.sorted( true, 0, 0, 0 ); |
32 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { | 33 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { |
33 | if ((*it).defaultEmail().length()!=0) { | 34 | if ((*it).defaultEmail().length()!=0) { |
34 | mails = (*it).emailList(); | 35 | mails = (*it).emailList(); |