author | harlekin <harlekin> | 2004-03-01 16:38:12 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-03-01 16:38:12 (UTC) |
commit | 49615014f281a58bd9bde5543692ffddab052755 (patch) (unidiff) | |
tree | fea29073a62a2217ce25976e492772f0636dce80 /core/pim/osearch/todoitem.cpp | |
parent | 032f2d909293fb29e6c7e3cf9cce1a12484c80f7 (diff) | |
download | opie-49615014f281a58bd9bde5543692ffddab052755.zip opie-49615014f281a58bd9bde5543692ffddab052755.tar.gz opie-49615014f281a58bd9bde5543692ffddab052755.tar.bz2 |
osearch libopie1->libopie2
Diffstat (limited to 'core/pim/osearch/todoitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/todoitem.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/core/pim/osearch/todoitem.cpp b/core/pim/osearch/todoitem.cpp index 9808a04..c20f1fd 100644 --- a/core/pim/osearch/todoitem.cpp +++ b/core/pim/osearch/todoitem.cpp | |||
@@ -12,12 +12,14 @@ | |||
12 | // | 12 | // |
13 | #include "todoitem.h" | 13 | #include "todoitem.h" |
14 | 14 | ||
15 | #include <opie/otodo.h> | 15 | |
16 | #include <qpixmap.h> | ||
17 | #include <qpe/resource.h> | 16 | #include <qpe/resource.h> |
18 | #include <qpe/qcopenvelope_qws.h> | 17 | #include <qpe/qcopenvelope_qws.h> |
19 | 18 | ||
20 | TodoItem::TodoItem(OListViewItem* parent, OTodo *todo) | 19 | #include <qpixmap.h> |
20 | |||
21 | |||
22 | TodoItem::TodoItem(OListViewItem* parent, OPimTodo *todo) | ||
21 | : ResultItem(parent) | 23 | : ResultItem(parent) |
22 | { | 24 | { |
23 | _todo = todo; | 25 | _todo = todo; |
@@ -61,16 +63,16 @@ void TodoItem::setIcon() | |||
61 | case -1: | 63 | case -1: |
62 | icon = Resource::loadPixmap( "reset" ); | 64 | icon = Resource::loadPixmap( "reset" ); |
63 | break; | 65 | break; |
64 | case OTodo::Description: | 66 | case OPimTodo::Description: |
65 | icon = Resource::loadPixmap( "txt" ); | 67 | icon = Resource::loadPixmap( "txt" ); |
66 | break; | 68 | break; |
67 | case OTodo::Summary: | 69 | case OPimTodo::Summary: |
68 | icon = Resource::loadPixmap( "osearch/summary" ); | 70 | icon = Resource::loadPixmap( "osearch/summary" ); |
69 | break; | 71 | break; |
70 | case OTodo::Priority: | 72 | case OPimTodo::Priority: |
71 | icon = Resource::loadPixmap( "todo/priority1" ); | 73 | icon = Resource::loadPixmap( "todo/priority1" ); |
72 | break; | 74 | break; |
73 | case OTodo::HasDate: | 75 | case OPimTodo::HasDate: |
74 | icon = Resource::loadPixmap( "osearch/clock" ); | 76 | icon = Resource::loadPixmap( "osearch/clock" ); |
75 | break; | 77 | break; |
76 | default: | 78 | default: |