summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp34
1 files changed, 1 insertions, 33 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index 6d92ac3..0e752ca 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -529,9 +529,6 @@ void ContactEditor::slotChooser3Change( const QString &textChanged ) {
529 529
530void ContactEditor::slotAddressChange( const QString &textChanged ) { 530void ContactEditor::slotAddressChange( const QString &textChanged ) {
531 531
532 qDebug((*slBusinessAddress)[0]);
533 qDebug((*slHomeAddress)[0]);
534 qDebug(textChanged);
535 if ( cmbAddress->currentItem() == 0 ) { 532 if ( cmbAddress->currentItem() == 0 ) {
536 (*slBusinessAddress)[0] = textChanged; 533 (*slBusinessAddress)[0] = textChanged;
537 } else { 534 } else {
@@ -541,10 +538,6 @@ void ContactEditor::slotAddressChange( const QString &textChanged ) {
541 538
542void ContactEditor::slotAddress2Change( const QString &textChanged ) { 539void ContactEditor::slotAddress2Change( const QString &textChanged ) {
543 540
544 qDebug((*slBusinessAddress)[1]);
545 qDebug((*slHomeAddress)[1]);
546 qDebug(textChanged);
547
548 if ( cmbAddress->currentItem() == 0 ) { 541 if ( cmbAddress->currentItem() == 0 ) {
549 (*slBusinessAddress)[1] = textChanged; 542 (*slBusinessAddress)[1] = textChanged;
550 } else { 543 } else {
@@ -554,9 +547,6 @@ void ContactEditor::slotAddress2Change( const QString &textChanged ) {
554 547
555void ContactEditor::slotPOBoxChange( const QString &textChanged ) { 548void ContactEditor::slotPOBoxChange( const QString &textChanged ) {
556 549
557 qDebug((*slBusinessAddress)[2]);
558 qDebug((*slHomeAddress)[2]);
559 qDebug(textChanged);
560 if ( cmbAddress->currentItem() == 0 ) { 550 if ( cmbAddress->currentItem() == 0 ) {
561 (*slBusinessAddress)[2] = textChanged; 551 (*slBusinessAddress)[2] = textChanged;
562 } else { 552 } else {
@@ -566,9 +556,6 @@ void ContactEditor::slotPOBoxChange( const QString &textChanged ) {
566 556
567void ContactEditor::slotCityChange( const QString &textChanged ) { 557void ContactEditor::slotCityChange( const QString &textChanged ) {
568 558
569 qDebug((*slBusinessAddress)[3]);
570 qDebug((*slHomeAddress)[3]);
571 qDebug(textChanged);
572 if ( cmbAddress->currentItem() == 0 ) { 559 if ( cmbAddress->currentItem() == 0 ) {
573 (*slBusinessAddress)[3] = textChanged; 560 (*slBusinessAddress)[3] = textChanged;
574 } else { 561 } else {
@@ -579,9 +566,6 @@ void ContactEditor::slotCityChange( const QString &textChanged ) {
579void ContactEditor::slotStateChange( const QString &textChanged ) { 566void ContactEditor::slotStateChange( const QString &textChanged ) {
580 567
581 568
582 qDebug((*slBusinessAddress)[4]);
583 qDebug((*slHomeAddress)[4]);
584 qDebug(textChanged);
585 if ( cmbAddress->currentItem() == 0 ) { 569 if ( cmbAddress->currentItem() == 0 ) {
586 (*slBusinessAddress)[4] = textChanged; 570 (*slBusinessAddress)[4] = textChanged;
587 } else { 571 } else {
@@ -591,9 +575,6 @@ void ContactEditor::slotStateChange( const QString &textChanged ) {
591 575
592void ContactEditor::slotZipChange( const QString &textChanged ) { 576void ContactEditor::slotZipChange( const QString &textChanged ) {
593 577
594 qDebug((*slBusinessAddress)[5]);
595 qDebug((*slHomeAddress)[5]);
596 qDebug(textChanged);
597 if ( cmbAddress->currentItem() == 0 ) { 578 if ( cmbAddress->currentItem() == 0 ) {
598 (*slBusinessAddress)[5] = textChanged; 579 (*slBusinessAddress)[5] = textChanged;
599 } else { 580 } else {
@@ -603,9 +584,6 @@ void ContactEditor::slotZipChange( const QString &textChanged ) {
603 584
604void ContactEditor::slotCountryChange( const QString &textChanged ) { 585void ContactEditor::slotCountryChange( const QString &textChanged ) {
605 586
606 qDebug((*slBusinessAddress)[6]);
607 qDebug((*slHomeAddress)[6]);
608 qDebug(textChanged);
609 if ( cmbAddress->currentItem() == 0 ) { 587 if ( cmbAddress->currentItem() == 0 ) {
610 (*slBusinessAddress)[6] = textChanged; 588 (*slBusinessAddress)[6] = textChanged;
611 } else { 589 } else {
@@ -633,16 +611,6 @@ void ContactEditor::slotCmbChooser3Change( int index ) {
633 611
634void ContactEditor::slotAddressTypeChange( int index ) { 612void ContactEditor::slotAddressTypeChange( int index ) {
635 613
636 qDebug((*slBusinessAddress)[0]);
637 qDebug((*slBusinessAddress)[1]);
638 qDebug((*slBusinessAddress)[2]);
639qDebug((*slBusinessAddress)[3]);
640qDebug((*slBusinessAddress)[4]);
641qDebug((*slBusinessAddress)[5]);
642qDebug((*slBusinessAddress)[6]);
643
644
645
646 if ( index == 0 ) { 614 if ( index == 0 ) {
647 615
648 txtAddress->setText( (*slBusinessAddress)[0] ); 616 txtAddress->setText( (*slBusinessAddress)[0] );
@@ -1002,7 +970,7 @@ void ContactEditor::setEntry( const Contact &entry ) {
1002*/ 970*/
1003 if (hasCity) { 971 if (hasCity) {
1004 (*slHomeAddress)[3] = ent.homeCity(); 972 (*slHomeAddress)[3] = ent.homeCity();
1005 (*slBusinessAddress)[3] = ent.homeCity(); 973 (*slBusinessAddress)[3] = ent.businessCity();
1006 } 974 }
1007 975
1008 if (hasState) { 976 if (hasState) {