summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/contactitem.cpp4
-rw-r--r--core/pim/osearch/eventitem.cpp4
-rw-r--r--core/pim/osearch/todoitem.cpp4
3 files changed, 8 insertions, 4 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
@@ -43,32 +43,32 @@ void ContactItem::setIcon()
break;
case Qtopia::DefaultEmail:
icon = Resource::loadPixmap( "addressbook/email" );
break;
case Qtopia::Emails:
icon = Resource::loadPixmap( "addressbook/email" );
break;
case Qtopia::HomePhone:
- qDebug("homephone");
icon = Resource::loadPixmap( "addressbook/phonehome" );
break;
case Qtopia::HomeFax:
icon = Resource::loadPixmap( "addressbook/faxhome" );
break;
case Qtopia::HomeMobile:
icon = Resource::loadPixmap( "addressbook/mobilehome" );
break;
case Qtopia::HomeWebPage:
icon = Resource::loadPixmap( "addressbook/webpagehome" );
break;
case Qtopia::BusinessWebPage:
icon = Resource::loadPixmap( "addressbook/webpagework" );
break;
case Qtopia::Title:
+ case Qtopia::JobTitle:
case Qtopia::FirstName:
case Qtopia::MiddleName:
case Qtopia::LastName:
case Qtopia::Suffix:
case Qtopia::Nickname:
case Qtopia::FileAs:
icon = Resource::loadPixmap( "addressbook/identity" );
break;
@@ -79,17 +79,16 @@ void ContactItem::setIcon()
case Qtopia::HomeCountry:
icon = Resource::loadPixmap( "addressbook/addresshome" );
break;
case Qtopia::Company:
case Qtopia::BusinessCity:
case Qtopia::BusinessStreet:
case Qtopia::BusinessZip:
case Qtopia::BusinessCountry:
- case Qtopia::JobTitle:
case Qtopia::Department:
case Qtopia::Office:
case Qtopia::Manager:
case Qtopia::BusinessPager:
case Qtopia::Profession:
icon = Resource::loadPixmap( "addressbook/addresshome" );
break;
case Qtopia::Assistant:
@@ -97,16 +96,17 @@ void ContactItem::setIcon()
case Qtopia::Children:
icon = Resource::loadPixmap( "osearch/personal" );
break;
case Qtopia::Birthday:
case Qtopia::Anniversary:
icon = Resource::loadPixmap( "osearch/clock" );
break;
case Qtopia::Notes:
+ icon = Resource::loadPixmap( "txt" );
break;
default:
icon = Resource::loadPixmap( "DocsIcon" );
break;
}
setPixmap( 0, icon );
}
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp
index 5b7a840..24ce8e8 100644
--- a/core/pim/osearch/eventitem.cpp
+++ b/core/pim/osearch/eventitem.cpp
@@ -59,18 +59,20 @@ QIntDict<QString> EventItem::actions()
void EventItem::setIcon()
{
QPixmap icon;
switch ( _event->lastHitField() ) {
case -1:
icon = Resource::loadPixmap( "reset" );
break;
case Qtopia::DatebookDescription:
+ icon = Resource::loadPixmap( "osearch/summary" );
+ break;
case Qtopia::Notes:
- icon = Resource::loadPixmap( "osearch/personal" );
+ icon = Resource::loadPixmap( "txt" );
break;
case Qtopia::Location:
icon = Resource::loadPixmap( "home" );
break;
case Qtopia::StartDateTime:
case Qtopia::EndDateTime:
icon = Resource::loadPixmap( "osearch/clock" );
break;
diff --git a/core/pim/osearch/todoitem.cpp b/core/pim/osearch/todoitem.cpp
index de4ea97..9808a04 100644
--- a/core/pim/osearch/todoitem.cpp
+++ b/core/pim/osearch/todoitem.cpp
@@ -57,18 +57,20 @@ QIntDict<QString> TodoItem::actions()
void TodoItem::setIcon()
{
QPixmap icon;
switch ( _todo->lastHitField() ) {
case -1:
icon = Resource::loadPixmap( "reset" );
break;
case OTodo::Description:
+ icon = Resource::loadPixmap( "txt" );
+ break;
case OTodo::Summary:
- icon = Resource::loadPixmap( "osearch/personal" );
+ icon = Resource::loadPixmap( "osearch/summary" );
break;
case OTodo::Priority:
icon = Resource::loadPixmap( "todo/priority1" );
break;
case OTodo::HasDate:
icon = Resource::loadPixmap( "osearch/clock" );
break;
default: