-rw-r--r-- | core/pim/addressbook/abtable.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index b8127e9..e333b17 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp | |||
@@ -629,84 +629,86 @@ QString AbTable::findContactContact( const OContact &entry, int /* row */ ) | |||
629 | case Qtopia::HomeFax: | 629 | case Qtopia::HomeFax: |
630 | value = entry.homeFax(); | 630 | value = entry.homeFax(); |
631 | break; | 631 | break; |
632 | case Qtopia::HomeMobile: | 632 | case Qtopia::HomeMobile: |
633 | value = entry.homeMobile(); | 633 | value = entry.homeMobile(); |
634 | break; | 634 | break; |
635 | case Qtopia::HomeWebPage: | 635 | case Qtopia::HomeWebPage: |
636 | value = entry.homeWebpage(); | 636 | value = entry.homeWebpage(); |
637 | break; | 637 | break; |
638 | case Qtopia::Company: | 638 | case Qtopia::Company: |
639 | value = entry.company(); | 639 | value = entry.company(); |
640 | break; | 640 | break; |
641 | case Qtopia::BusinessCity: | 641 | case Qtopia::BusinessCity: |
642 | value = entry.businessCity(); | 642 | value = entry.businessCity(); |
643 | break; | 643 | break; |
644 | case Qtopia::BusinessStreet: | 644 | case Qtopia::BusinessStreet: |
645 | value = entry.businessStreet(); | 645 | value = entry.businessStreet(); |
646 | break; | 646 | break; |
647 | case Qtopia::BusinessZip: | 647 | case Qtopia::BusinessZip: |
648 | value = entry.businessZip(); | 648 | value = entry.businessZip(); |
649 | break; | 649 | break; |
650 | case Qtopia::BusinessCountry: | 650 | case Qtopia::BusinessCountry: |
651 | value = entry.businessCountry(); | 651 | value = entry.businessCountry(); |
652 | break; | 652 | break; |
653 | case Qtopia::BusinessWebPage: | 653 | case Qtopia::BusinessWebPage: |
654 | value = entry.businessWebpage(); | 654 | value = entry.businessWebpage(); |
655 | break; | 655 | break; |
656 | case Qtopia::JobTitle: | 656 | case Qtopia::JobTitle: |
657 | value = entry.jobTitle(); | 657 | value = entry.jobTitle(); |
658 | break; | 658 | break; |
659 | case Qtopia::Department: | 659 | case Qtopia::Department: |
660 | value = entry.department(); | 660 | value = entry.department(); |
661 | break; | 661 | break; |
662 | case Qtopia::Office: | 662 | case Qtopia::Office: |
663 | value = entry.office(); | 663 | value = entry.office(); |
664 | break; | 664 | break; |
665 | case Qtopia::BusinessPhone: | 665 | case Qtopia::BusinessPhone: |
666 | value = entry.businessPhone(); | 666 | value = entry.businessPhone(); |
667 | break; | 667 | break; |
668 | case Qtopia::BusinessFax: | 668 | case Qtopia::BusinessFax: |
669 | value = entry.businessFax(); | 669 | value = entry.businessFax(); |
670 | break; | 670 | break; |
671 | case Qtopia::BusinessMobile: | 671 | case Qtopia::BusinessMobile: |
672 | value = entry.businessMobile(); | 672 | value = entry.businessMobile(); |
673 | break; | 673 | break; |
674 | case Qtopia::BusinessPager: | 674 | case Qtopia::BusinessPager: |
675 | value = entry.businessPager(); | 675 | value = entry.businessPager(); |
676 | break; | 676 | break; |
677 | case Qtopia::Profession: | 677 | case Qtopia::Profession: |
678 | value = entry.profession(); | 678 | value = entry.profession(); |
679 | break; | 679 | break; |
680 | case Qtopia::Assistant: | 680 | case Qtopia::Assistant: |
681 | value = entry.assistant(); | 681 | value = entry.assistant(); |
682 | break; | 682 | break; |
683 | case Qtopia::Manager: | 683 | case Qtopia::Manager: |
684 | value = entry.manager(); | 684 | value = entry.manager(); |
685 | break; | 685 | break; |
686 | case Qtopia::Spouse: | 686 | case Qtopia::Spouse: |
687 | value = entry.spouse(); | 687 | value = entry.spouse(); |
688 | break; | 688 | break; |
689 | case Qtopia::Gender: | 689 | case Qtopia::Gender: |
690 | value = entry.gender(); | 690 | value = entry.gender(); |
691 | break; | 691 | break; |
692 | case Qtopia::Birthday: | 692 | case Qtopia::Birthday: |
693 | value = TimeString::numberDateString( entry.birthday() ); | 693 | if ( ! entry.birthday().isNull() ) |
694 | value = TimeString::numberDateString( entry.birthday() ); | ||
694 | break; | 695 | break; |
695 | case Qtopia::Anniversary: | 696 | case Qtopia::Anniversary: |
696 | value = TimeString::numberDateString( entry.anniversary() ); | 697 | if ( ! entry.anniversary().isNull() ) |
698 | value = TimeString::numberDateString( entry.anniversary() ); | ||
697 | break; | 699 | break; |
698 | case Qtopia::Nickname: | 700 | case Qtopia::Nickname: |
699 | value = entry.nickname(); | 701 | value = entry.nickname(); |
700 | break; | 702 | break; |
701 | case Qtopia::Children: | 703 | case Qtopia::Children: |
702 | value = entry.children(); | 704 | value = entry.children(); |
703 | break; | 705 | break; |
704 | case Qtopia::Notes: | 706 | case Qtopia::Notes: |
705 | value = entry.notes(); | 707 | value = entry.notes(); |
706 | break; | 708 | break; |
707 | } | 709 | } |
708 | if ( !value.isEmpty() ) | 710 | if ( !value.isEmpty() ) |
709 | break; | 711 | break; |
710 | } | 712 | } |
711 | return value; | 713 | return value; |
712 | } | 714 | } |