author | drw <drw> | 2005-04-15 17:18:32 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-15 17:18:32 (UTC) |
commit | e2d5048b65d95ba7d658aabadece4e91f17f6310 (patch) (unidiff) | |
tree | f1ab32bf3790a315554fe4baa191d74f80d66933 /core/pim/osearch/eventitem.cpp | |
parent | 4bf8d42034beee5e28b25182e21cf74f3c2da6a8 (diff) | |
download | opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.zip opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.tar.gz opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'core/pim/osearch/eventitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/eventitem.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp index 7bcf340..36adc63 100644 --- a/core/pim/osearch/eventitem.cpp +++ b/core/pim/osearch/eventitem.cpp | |||
@@ -12,8 +12,8 @@ | |||
12 | // | 12 | // |
13 | #include "eventitem.h" | 13 | #include "eventitem.h" |
14 | 14 | ||
15 | #include <opie2/oresource.h> | ||
15 | 16 | ||
16 | #include <qpe/resource.h> | ||
17 | #include <qpe/qcopenvelope_qws.h> | 17 | #include <qpe/qcopenvelope_qws.h> |
18 | 18 | ||
19 | 19 | ||
@@ -61,24 +61,24 @@ void EventItem::setIcon() | |||
61 | QPixmap icon; | 61 | QPixmap icon; |
62 | switch ( _event->lastHitField() ) { | 62 | switch ( _event->lastHitField() ) { |
63 | case -1: | 63 | case -1: |
64 | icon = Resource::loadPixmap( "reset" ); | 64 | icon = Opie::Core::OResource::loadPixmap( "reset", Opie::Core::OResource::SmallIcon ); |
65 | // QWhatsThis::add( icon, QObject::tr("Enter your search terms here") ); | 65 | // QWhatsThis::add( icon, QObject::tr("Enter your search terms here") ); |
66 | break; | 66 | break; |
67 | case Qtopia::DatebookDescription: | 67 | case Qtopia::DatebookDescription: |
68 | icon = Resource::loadPixmap( "osearch/summary" ); | 68 | icon = Opie::Core::OResource::loadPixmap( "osearch/summary", Opie::Core::OResource::SmallIcon ); |
69 | break; | 69 | break; |
70 | case Qtopia::Notes: | 70 | case Qtopia::Notes: |
71 | icon = Resource::loadPixmap( "txt" ); | 71 | icon = Opie::Core::OResource::loadPixmap( "txt", Opie::Core::OResource::SmallIcon ); |
72 | break; | 72 | break; |
73 | case Qtopia::Location: | 73 | case Qtopia::Location: |
74 | icon = Resource::loadPixmap( "home" ); | 74 | icon = Opie::Core::OResource::loadPixmap( "home", Opie::Core::OResource::SmallIcon ); |
75 | break; | 75 | break; |
76 | case Qtopia::StartDateTime: | 76 | case Qtopia::StartDateTime: |
77 | case Qtopia::EndDateTime: | 77 | case Qtopia::EndDateTime: |
78 | icon = Resource::loadPixmap( "osearch/clock" ); | 78 | icon = Opie::Core::OResource::loadPixmap( "osearch/clock", Opie::Core::OResource::SmallIcon ); |
79 | break; | 79 | break; |
80 | default: | 80 | default: |
81 | icon = Resource::loadPixmap( "DocsIcon" ); | 81 | icon = Opie::Core::OResource::loadPixmap( "DocsIcon", Opie::Core::OResource::SmallIcon ); |
82 | break; | 82 | break; |
83 | } | 83 | } |
84 | setPixmap( 0, icon ); | 84 | setPixmap( 0, icon ); |