summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-11-22 13:28:35 (UTC)
committer cniehaus <cniehaus>2002-11-22 13:28:35 (UTC)
commite567eb229f39cb74e4d5b2be3a1487650090673f (patch) (side-by-side diff)
tree954fa25d0554a3a9018db51f0028d05bab2b7e31
parent2539ce3dc66bfc3702a0366af78f25f7afa23889 (diff)
downloadopie-e567eb229f39cb74e4d5b2be3a1487650090673f.zip
opie-e567eb229f39cb74e4d5b2be3a1487650090673f.tar.gz
opie-e567eb229f39cb74e4d5b2be3a1487650090673f.tar.bz2
one (hopefully) last i18n-fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 58fbccf..3b2e4b8 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -312,49 +312,49 @@ void AddressbookWindow::slotSetFont( int size )
// abList->resizeRows();
break;
}
}
void AddressbookWindow::importvCard() {
QString str = OFileDialog::getOpenFileName( 1,"/");//,"", "*", this );
if(!str.isEmpty() ){
setDocument((const QString&) str );
}
}
void AddressbookWindow::setDocument( const QString &filename )
{
qWarning( "void AddressbookWindow::setDocument( %s )", filename.latin1() );
if ( filename.find(".vcf") != int(filename.length()) - 4 ){
switch( QMessageBox::information( this, tr ( "Right file type ?" ),
- tr( "The selected file \n does not end with \".vcf\" \n. Do you really want to open it?" ),
+ tr( "The selected file \n does not end with \".vcf\".\n Do you really want to open it?" ),
tr( "&Yes" ), tr( "&No" ), QString::null,
0, // Enter == button 0
2 ) ) { // Escape == button 2
case 0:
qWarning("YES clicked");
break;
case 1:
qWarning("NO clicked");
return;
break;
}
}
OContactAccessBackend* vcard_backend = new OContactAccessBackend_VCard( QString::null,
filename );
OContactAccess* access = new OContactAccess ( "addressbook", QString::null , vcard_backend, true );
OContactAccess::List allList = access->allRecords();
OContactAccess::List::Iterator it;
for ( it = allList.begin(); it != allList.end(); ++it ){
m_abView->addEntry( *it );
}
delete access;