author | eilers <eilers> | 2002-10-08 14:25:09 (UTC) |
---|---|---|
committer | eilers <eilers> | 2002-10-08 14:25:09 (UTC) |
commit | 55c7fa47ac6784ae2bca5ff20e6130c5993e00f2 (patch) (unidiff) | |
tree | 584e31ba44186ad042589d44206f58f9db93191b | |
parent | 35858cdc60ab8ca959804e9994a7ce2cf8e99000 (diff) | |
download | opie-55c7fa47ac6784ae2bca5ff20e6130c5993e00f2.zip opie-55c7fa47ac6784ae2bca5ff20e6130c5993e00f2.tar.gz opie-55c7fa47ac6784ae2bca5ff20e6130c5993e00f2.tar.bz2 |
contacteditor.cpp
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index fd7f009..5c1391b 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -1404,33 +1404,33 @@ void ContactEditor::setEntry( const OContact &entry ) { | |||
1404 | if ( *it == "Business 2 Phone" ) | 1404 | if ( *it == "Business 2 Phone" ) |
1405 | *itV = ent.business2Phone(); | 1405 | *itV = ent.business2Phone(); |
1406 | */ | 1406 | */ |
1407 | if ( *it == tr("Business Fax") || *it == tr("Work Fax" )) | 1407 | if ( *it == tr("Business Fax") || *it == tr("Work Fax" )) |
1408 | *itV = ent.businessFax(); | 1408 | *itV = ent.businessFax(); |
1409 | 1409 | ||
1410 | if ( *it == tr("Business Mobile") || *it == tr("work Mobile" )) | 1410 | if ( *it == tr("Business Mobile") || *it == tr("work Mobile" )) |
1411 | *itV = ent.businessMobile(); | 1411 | *itV = ent.businessMobile(); |
1412 | /* | 1412 | /* |
1413 | if ( *it == "Company Phone" ) | 1413 | if ( *it == "Company Phone" ) |
1414 | *itV = ent.companyPhone(); | 1414 | *itV = ent.companyPhone(); |
1415 | */ | 1415 | */ |
1416 | if ( *it == tr("Default Email" )) | 1416 | if ( *it == tr("Default Email" )) |
1417 | *itV = ent.defaultEmail(); | 1417 | *itV = ent.defaultEmail(); |
1418 | 1418 | ||
1419 | if ( *it == tr("Emails" )) | 1419 | if ( *it == tr("Emails" )) |
1420 | *itV = ent.emailList().join(";"); | 1420 | *itV = ent.emailList().join(","); // :SX |
1421 | 1421 | ||
1422 | if ( *it == tr("Home Phone" )) | 1422 | if ( *it == tr("Home Phone" )) |
1423 | *itV = ent.homePhone(); | 1423 | *itV = ent.homePhone(); |
1424 | /* | 1424 | /* |
1425 | if ( *it == "Home 2 Phone" ) | 1425 | if ( *it == "Home 2 Phone" ) |
1426 | *itV = ent.home2Phone(); | 1426 | *itV = ent.home2Phone(); |
1427 | */ | 1427 | */ |
1428 | if ( *it == tr("Home Fax" )) | 1428 | if ( *it == tr("Home Fax" )) |
1429 | *itV = ent.homeFax(); | 1429 | *itV = ent.homeFax(); |
1430 | 1430 | ||
1431 | if ( *it == tr("Home Mobile" )) | 1431 | if ( *it == tr("Home Mobile" )) |
1432 | *itV = ent.homeMobile(); | 1432 | *itV = ent.homeMobile(); |
1433 | /* | 1433 | /* |
1434 | if ( *it == "Car Phone" ) | 1434 | if ( *it == "Car Phone" ) |
1435 | *itV = ent.carPhone(); | 1435 | *itV = ent.carPhone(); |
1436 | 1436 | ||
@@ -1604,32 +1604,33 @@ void ContactEditor::saveEntry() { | |||
1604 | if ( *it == tr("Business Fax") || *it == tr("Work Fax" )) | 1604 | if ( *it == tr("Business Fax") || *it == tr("Work Fax" )) |
1605 | ent.setBusinessFax( *itV ); | 1605 | ent.setBusinessFax( *itV ); |
1606 | 1606 | ||
1607 | if ( *it == tr("Business Mobile") || *it == tr("Work Mobile" )) | 1607 | if ( *it == tr("Business Mobile") || *it == tr("Work Mobile" )) |
1608 | ent.setBusinessMobile( *itV ); | 1608 | ent.setBusinessMobile( *itV ); |
1609 | /* | 1609 | /* |
1610 | if ( *it == "Company Phone" ) | 1610 | if ( *it == "Company Phone" ) |
1611 | ent.setCompanyPhone( *itV ); | 1611 | ent.setCompanyPhone( *itV ); |
1612 | */ | 1612 | */ |
1613 | //if ( *it == "Default Email" ) | 1613 | //if ( *it == "Default Email" ) |
1614 | //ent.setDefaultEmail( *itV ); | 1614 | //ent.setDefaultEmail( *itV ); |
1615 | 1615 | ||
1616 | if ( *it == tr("Emails" )) { | 1616 | if ( *it == tr("Emails" )) { |
1617 | QString allemail; | 1617 | QString allemail; |
1618 | QString defaultmail; | 1618 | QString defaultmail; |
1619 | parseEmailFrom( *itV, defaultmail, allemail ); | 1619 | parseEmailFrom( *itV, defaultmail, allemail ); |
1620 | ent.clearEmails(); | ||
1620 | ent.setDefaultEmail( defaultmail ); | 1621 | ent.setDefaultEmail( defaultmail ); |
1621 | ent.insertEmails( *itV ); | 1622 | ent.insertEmails( *itV ); |
1622 | } | 1623 | } |
1623 | 1624 | ||
1624 | if ( *it == tr("Home Phone" )) | 1625 | if ( *it == tr("Home Phone" )) |
1625 | ent.setHomePhone( *itV ); | 1626 | ent.setHomePhone( *itV ); |
1626 | /* | 1627 | /* |
1627 | if ( *it == "Home 2 Phone" ) | 1628 | if ( *it == "Home 2 Phone" ) |
1628 | ent.setHome2Phone( *itV ); | 1629 | ent.setHome2Phone( *itV ); |
1629 | */ | 1630 | */ |
1630 | if ( *it == tr("Home Fax" )) | 1631 | if ( *it == tr("Home Fax" )) |
1631 | ent.setHomeFax( *itV ); | 1632 | ent.setHomeFax( *itV ); |
1632 | 1633 | ||
1633 | if ( *it == tr("Home Mobile" )) | 1634 | if ( *it == tr("Home Mobile" )) |
1634 | ent.setHomeMobile( *itV ); | 1635 | ent.setHomeMobile( *itV ); |
1635 | /* | 1636 | /* |