summaryrefslogtreecommitdiff
path: root/core/pim/osearch/todosearch.cpp
Unidiff
Diffstat (limited to 'core/pim/osearch/todosearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/todosearch.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/osearch/todosearch.cpp b/core/pim/osearch/todosearch.cpp
index 6a73530..c9fa61a 100644
--- a/core/pim/osearch/todosearch.cpp
+++ b/core/pim/osearch/todosearch.cpp
@@ -5,31 +5,36 @@
5// Description: 5// Description:
6// 6//
7// 7//
8// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 8// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003
9// 9//
10// Copyright: See COPYING file that comes with this distribution 10// Copyright: See COPYING file that comes with this distribution
11// 11//
12// 12//
13#include "todosearch.h" 13#include "todosearch.h"
14 14
15#include <opie/otodoaccess.h> 15#include <opie/otodoaccess.h>
16#include <opie/otodo.h> 16#include <opie/otodo.h>
17 17#include <qiconset.h>
18#include <qpe/resource.h>
18#include "todoitem.h" 19#include "todoitem.h"
19 20
20TodoSearch::TodoSearch(QListView* parent, QString name) 21TodoSearch::TodoSearch(QListView* parent, QString name)
21: SearchGroup(parent, name) 22: SearchGroup(parent, name)
22{ 23{
23 _todos = 0; 24 _todos = 0;
25 //AppLnkSet als(QPEApplication::qpeDir());
26 //setPixmap( 0, als.findExec("todolist")->pixmap() );
27 QIconSet is = Resource::loadIconSet( "todo/TodoList" );
28 setPixmap( 0, is.pixmap( QIconSet::Small, true ) );
24} 29}
25 30
26 31
27TodoSearch::~TodoSearch() 32TodoSearch::~TodoSearch()
28{ 33{
29 delete _todos; 34 delete _todos;
30} 35}
31 36
32 37
33void TodoSearch::load() 38void TodoSearch::load()
34{ 39{
35 _todos = new OTodoAccess(); 40 _todos = new OTodoAccess();