author | alwin <alwin> | 2004-01-02 01:11:18 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-02 01:11:18 (UTC) |
commit | 31df13e3d5eecef960e267b7ad4f7ad98fa28357 (patch) (unidiff) | |
tree | 05c4735da9d7ed8669ce3bb8b8f2a75f3112c979 | |
parent | afca439e790b2a6261679fffa42c7eaa2b295824 (diff) | |
download | opie-31df13e3d5eecef960e267b7ad4f7ad98fa28357.zip opie-31df13e3d5eecef960e267b7ad4f7ad98fa28357.tar.gz opie-31df13e3d5eecef960e267b7ad4f7ad98fa28357.tar.bz2 |
fixed appname for db access
-rw-r--r-- | noncore/net/mail/addresspicker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/addresspicker.cpp b/noncore/net/mail/addresspicker.cpp index 7857870..c6dec35 100644 --- a/noncore/net/mail/addresspicker.cpp +++ b/noncore/net/mail/addresspicker.cpp | |||
@@ -16,25 +16,25 @@ | |||
16 | AddressPicker::AddressPicker( QWidget *parent, const char *name, bool modal, WFlags flags ) | 16 | AddressPicker::AddressPicker( QWidget *parent, const char *name, bool modal, WFlags flags ) |
17 | : AddressPickerUI( parent, name, modal, flags ) | 17 | : AddressPickerUI( parent, name, modal, flags ) |
18 | { | 18 | { |
19 | okButton->setIconSet( Resource::loadPixmap( "enter" ) ); | 19 | okButton->setIconSet( Resource::loadPixmap( "enter" ) ); |
20 | cancelButton->setIconSet( Resource::loadPixmap( "editdelete" ) ); | 20 | cancelButton->setIconSet( Resource::loadPixmap( "editdelete" ) ); |
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 | 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("addressbook"); | 28 | OContactAccess m_contactdb("opiemail"); |
29 | QStringList mails; | 29 | QStringList mails; |
30 | QString pre,suf; | 30 | QString pre,suf; |
31 | OContactAccess::List m_list = m_contactdb.sorted( true, 0, 0, 0 ); | 31 | OContactAccess::List m_list = m_contactdb.sorted( true, 0, 0, 0 ); |
32 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { | 32 | for ( it = m_list.begin(); it != m_list.end(); ++it ) { |
33 | if ((*it).defaultEmail().length()!=0) { | 33 | if ((*it).defaultEmail().length()!=0) { |
34 | mails = (*it).emailList(); | 34 | mails = (*it).emailList(); |
35 | if ((*it).fileAs().length()>0) { | 35 | if ((*it).fileAs().length()>0) { |
36 | pre = "\""+(*it).firstName()+" "+(*it).lastName()+"\" <"; | 36 | pre = "\""+(*it).firstName()+" "+(*it).lastName()+"\" <"; |
37 | suf = ">"; | 37 | suf = ">"; |
38 | } else { | 38 | } else { |
39 | pre = ""; | 39 | pre = ""; |
40 | suf = ""; | 40 | suf = ""; |