author | ulf69 <ulf69> | 2004-07-01 01:38:43 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-07-01 01:38:43 (UTC) |
commit | c381e615f02b1bc0241719701725a65be46b6326 (patch) (unidiff) | |
tree | 01ec97849667e96b952803aab08a79272bae5640 /kaddressbook | |
parent | d419ee83db7d2549c701fe89b678be619a7ce4d3 (diff) | |
download | kdepimpi-c381e615f02b1bc0241719701725a65be46b6326.zip kdepimpi-c381e615f02b1bc0241719701725a65be46b6326.tar.gz kdepimpi-c381e615f02b1bc0241719701725a65be46b6326.tar.bz2 |
*** empty log message ***
-rw-r--r-- | kaddressbook/xxport/opie/opie_xxport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/xxport/opie/opie_xxport.cpp b/kaddressbook/xxport/opie/opie_xxport.cpp index 616eec1..90d05cd 100644 --- a/kaddressbook/xxport/opie/opie_xxport.cpp +++ b/kaddressbook/xxport/opie/opie_xxport.cpp | |||
@@ -99,25 +99,25 @@ bool OpieXXPort::exportContacts( const KABC::AddresseeList &list, const QString | |||
99 | OContactAccess* access = new OContactAccess("KA/Pi", fileName, 0l, false); | 99 | OContactAccess* access = new OContactAccess("KA/Pi", fileName, 0l, false); |
100 | 100 | ||
101 | if ( !access ) { | 101 | if ( !access ) { |
102 | qDebug("Unable to access file() %s", fileName.latin1()); | 102 | qDebug("Unable to access file() %s", fileName.latin1()); |
103 | addressBook()->error( i18n( "Unable to access file '%1'." ).arg( fileName ) ); | 103 | addressBook()->error( i18n( "Unable to access file '%1'." ).arg( fileName ) ); |
104 | return false; | 104 | return false; |
105 | } | 105 | } |
106 | 106 | ||
107 | //Now check if the file has already entries, and ask the user if he wants to delete them first. | 107 | //Now check if the file has already entries, and ask the user if he wants to delete them first. |
108 | OContactAccess::List contactList = access->allRecords(); | 108 | OContactAccess::List contactList = access->allRecords(); |
109 | if (contactList.count() > 0) | 109 | if (contactList.count() > 0) |
110 | { | 110 | { |
111 | QString text( i18n( "<qt>Do you want to remove all existing entries from <b>%1</b> before exporting.?</qt>" ) ); | 111 | QString text( i18n( "Do you want to remove<br>all existing entries from<br>%1<br>before exporting.?" ) ); |
112 | if ( KMessageBox::questionYesNo( parentWidget(), text.arg( fileName ) ) == KMessageBox::Yes ) { | 112 | if ( KMessageBox::questionYesNo( parentWidget(), text.arg( fileName ) ) == KMessageBox::Yes ) { |
113 | // Clean the database.. | 113 | // Clean the database.. |
114 | access->clear(); | 114 | access->clear(); |
115 | } | 115 | } |
116 | } | 116 | } |
117 | 117 | ||
118 | KABC::OpieConverter mConverter; | 118 | KABC::OpieConverter mConverter; |
119 | bool res; | 119 | bool res; |
120 | 120 | ||
121 | KABC::Addressee::List::ConstIterator it; | 121 | KABC::Addressee::List::ConstIterator it; |
122 | for ( it = list.begin(); it != list.end(); ++it ) { | 122 | for ( it = list.begin(); it != list.end(); ++it ) { |
123 | OContact c; | 123 | OContact c; |