Diffstat (limited to 'core/pim/osearch/contactitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/contactitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/osearch/contactitem.cpp b/core/pim/osearch/contactitem.cpp index 3928b1f..1d24b18 100644 --- a/core/pim/osearch/contactitem.cpp +++ b/core/pim/osearch/contactitem.cpp | |||
@@ -45,13 +45,12 @@ void ContactItem::setIcon() | |||
45 | icon = Resource::loadPixmap( "addressbook/email" ); | 45 | icon = Resource::loadPixmap( "addressbook/email" ); |
46 | break; | 46 | break; |
47 | case Qtopia::Emails: | 47 | case Qtopia::Emails: |
48 | icon = Resource::loadPixmap( "addressbook/email" ); | 48 | icon = Resource::loadPixmap( "addressbook/email" ); |
49 | break; | 49 | break; |
50 | case Qtopia::HomePhone: | 50 | case Qtopia::HomePhone: |
51 | qDebug("homephone"); | ||
52 | icon = Resource::loadPixmap( "addressbook/phonehome" ); | 51 | icon = Resource::loadPixmap( "addressbook/phonehome" ); |
53 | break; | 52 | break; |
54 | case Qtopia::HomeFax: | 53 | case Qtopia::HomeFax: |
55 | icon = Resource::loadPixmap( "addressbook/faxhome" ); | 54 | icon = Resource::loadPixmap( "addressbook/faxhome" ); |
56 | break; | 55 | break; |
57 | case Qtopia::HomeMobile: | 56 | case Qtopia::HomeMobile: |
@@ -61,12 +60,13 @@ void ContactItem::setIcon() | |||
61 | icon = Resource::loadPixmap( "addressbook/webpagehome" ); | 60 | icon = Resource::loadPixmap( "addressbook/webpagehome" ); |
62 | break; | 61 | break; |
63 | case Qtopia::BusinessWebPage: | 62 | case Qtopia::BusinessWebPage: |
64 | icon = Resource::loadPixmap( "addressbook/webpagework" ); | 63 | icon = Resource::loadPixmap( "addressbook/webpagework" ); |
65 | break; | 64 | break; |
66 | case Qtopia::Title: | 65 | case Qtopia::Title: |
66 | case Qtopia::JobTitle: | ||
67 | case Qtopia::FirstName: | 67 | case Qtopia::FirstName: |
68 | case Qtopia::MiddleName: | 68 | case Qtopia::MiddleName: |
69 | case Qtopia::LastName: | 69 | case Qtopia::LastName: |
70 | case Qtopia::Suffix: | 70 | case Qtopia::Suffix: |
71 | case Qtopia::Nickname: | 71 | case Qtopia::Nickname: |
72 | case Qtopia::FileAs: | 72 | case Qtopia::FileAs: |
@@ -81,13 +81,12 @@ void ContactItem::setIcon() | |||
81 | break; | 81 | break; |
82 | case Qtopia::Company: | 82 | case Qtopia::Company: |
83 | case Qtopia::BusinessCity: | 83 | case Qtopia::BusinessCity: |
84 | case Qtopia::BusinessStreet: | 84 | case Qtopia::BusinessStreet: |
85 | case Qtopia::BusinessZip: | 85 | case Qtopia::BusinessZip: |
86 | case Qtopia::BusinessCountry: | 86 | case Qtopia::BusinessCountry: |
87 | case Qtopia::JobTitle: | ||
88 | case Qtopia::Department: | 87 | case Qtopia::Department: |
89 | case Qtopia::Office: | 88 | case Qtopia::Office: |
90 | case Qtopia::Manager: | 89 | case Qtopia::Manager: |
91 | case Qtopia::BusinessPager: | 90 | case Qtopia::BusinessPager: |
92 | case Qtopia::Profession: | 91 | case Qtopia::Profession: |
93 | icon = Resource::loadPixmap( "addressbook/addresshome" ); | 92 | icon = Resource::loadPixmap( "addressbook/addresshome" ); |
@@ -99,12 +98,13 @@ void ContactItem::setIcon() | |||
99 | break; | 98 | break; |
100 | case Qtopia::Birthday: | 99 | case Qtopia::Birthday: |
101 | case Qtopia::Anniversary: | 100 | case Qtopia::Anniversary: |
102 | icon = Resource::loadPixmap( "osearch/clock" ); | 101 | icon = Resource::loadPixmap( "osearch/clock" ); |
103 | break; | 102 | break; |
104 | case Qtopia::Notes: | 103 | case Qtopia::Notes: |
104 | icon = Resource::loadPixmap( "txt" ); | ||
105 | break; | 105 | break; |
106 | default: | 106 | default: |
107 | icon = Resource::loadPixmap( "DocsIcon" ); | 107 | icon = Resource::loadPixmap( "DocsIcon" ); |
108 | break; | 108 | break; |
109 | } | 109 | } |
110 | setPixmap( 0, icon ); | 110 | setPixmap( 0, icon ); |