summaryrefslogtreecommitdiff
path: root/core/pim/osearch/datebooksearch.cpp
Unidiff
Diffstat (limited to 'core/pim/osearch/datebooksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/datebooksearch.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/pim/osearch/datebooksearch.cpp b/core/pim/osearch/datebooksearch.cpp
index 68699fa..7aabcea 100644
--- a/core/pim/osearch/datebooksearch.cpp
+++ b/core/pim/osearch/datebooksearch.cpp
@@ -7,29 +7,34 @@
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 "datebooksearch.h" 13#include "datebooksearch.h"
14 14
15#include "eventitem.h" 15#include "eventitem.h"
16 16
17#include <opie/oevent.h> 17#include <opie/oevent.h>
18#include <opie/odatebookaccess.h> 18#include <opie/odatebookaccess.h>
19#include <qiconset.h>
20#include <qpe/resource.h>
19 21
20DatebookSearch::DatebookSearch(QListView* parent, QString name) 22DatebookSearch::DatebookSearch(QListView* parent, QString name)
21: SearchGroup(parent, name) 23: SearchGroup(parent, name)
22{ 24{
23 _dates = 0; 25 _dates = 0;
26 QIconSet is = Resource::loadIconSet( "datebook/DateBook" );
27 setPixmap( 0, is.pixmap( QIconSet::Small, true ) );
28
24} 29}
25 30
26 31
27DatebookSearch::~DatebookSearch() 32DatebookSearch::~DatebookSearch()
28{ 33{
29 delete _dates; 34 delete _dates;
30} 35}
31 36
32 37
33void DatebookSearch::load() 38void DatebookSearch::load()
34{ 39{
35 _dates = new ODateBookAccess(); 40 _dates = new ODateBookAccess();