summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/contacteditor.cpp
authorzecke <zecke>2002-09-10 13:15:52 (UTC)
committer zecke <zecke>2002-09-10 13:15:52 (UTC)
commit4fe9ebf0faabcfdcdc0104309da59de043d9785a (patch) (side-by-side diff)
tree0cdf6b1f45df2e014c1cceb4f943779861cc2767 /core/pim/addressbook/contacteditor.cpp
parent8db6dc7be6e274fe1ce762b15801052bce7bcf26 (diff)
downloadopie-4fe9ebf0faabcfdcdc0104309da59de043d9785a.zip
opie-4fe9ebf0faabcfdcdc0104309da59de043d9785a.tar.gz
opie-4fe9ebf0faabcfdcdc0104309da59de043d9785a.tar.bz2
COmpile fixes
Diffstat (limited to 'core/pim/addressbook/contacteditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index 39bd63c..ae86ed0 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -111,7 +111,7 @@ void ContactEditor::init() {
//slDynamicEntries->remove( it );
continue;
}
-
+
if ( (*it) == tr( "Home Fax" ) ) {
slChooserNames.append( *it );
slChooserValues.append("" );
@@ -191,7 +191,7 @@ void ContactEditor::init() {
//slDynamicEntries->remove( it );
continue;
}
-
+
if ( *it == "Name Title" || *it == "First Name" || *it == "Middle Name" || *it == "Last Name" || *it == "File As" || *it == "Default Email" || *it == "Emails" || *it == "Groups" )
continue;
@@ -270,7 +270,7 @@ void ContactEditor::init() {
hasStreet2 = TRUE;
// slDynamicEntries->remove( it );
continue;
- }
+ }
if ( (*it).right( 8 ) == tr( "P.O. Box" ) ) {
hasPOBox = TRUE;
@@ -1034,7 +1034,7 @@ void ContactEditor::slotName() {
}
dlgName->showMaximized();
if ( dlgName->exec() ) {
-
+
tmpName = txtFirstName->text() + " " + txtMiddleName->text() + " " + txtLastName->text() + " " + txtSuffix->text();
txtFullName->setText( tmpName.simplifyWhiteSpace() );
slotFullNameChange( txtFullName->text() );
@@ -1417,7 +1417,7 @@ void ContactEditor::setEntry( const Contact &entry ) {
*itV = ent.defaultEmail();
if ( *it == tr("Emails" ))
- *itV = ent.emails();
+ *itV = ent.emailList().join(";");
if ( *it == tr("Home Phone" ))
*itV = ent.homePhone();
@@ -1618,7 +1618,7 @@ void ContactEditor::saveEntry() {
QString defaultmail;
parseEmailFrom( *itV, defaultmail, allemail );
ent.setDefaultEmail( defaultmail );
- ent.setEmails( *itV );
+ ent.insertEmails( *itV );
}
if ( *it == tr("Home Phone" ))