Diffstat (limited to 'core/pim/osearch/doclnksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/doclnksearch.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/osearch/doclnksearch.cpp b/core/pim/osearch/doclnksearch.cpp index 123eaa0..d97eeb8 100644 --- a/core/pim/osearch/doclnksearch.cpp +++ b/core/pim/osearch/doclnksearch.cpp | |||
@@ -18,25 +18,26 @@ | |||
18 | #include <qpe/resource.h> | 18 | #include <qpe/resource.h> |
19 | 19 | ||
20 | #include "doclnkitem.h" | 20 | #include "doclnkitem.h" |
21 | 21 | ||
22 | DocLnkSearch::DocLnkSearch(QListView* parent, QString name) | 22 | DocLnkSearch::DocLnkSearch(QListView* parent, QString name) |
23 | : AppLnkSearch(parent, name) | 23 | : AppLnkSearch(parent, name) |
24 | { | 24 | { |
25 | QIconSet is = Resource::loadIconSet( "osearch/documents" ); | 25 | QIconSet is = Resource::loadIconSet( "osearch/documents" ); |
26 | setPixmap( 0, is.pixmap( QIconSet::Small, true ) ); | 26 | setPixmap( 0, is.pixmap( QIconSet::Small, true ) ); |
27 | } | 27 | } |
28 | 28 | ||
29 | 29 | ||
30 | DocLnkSearch::~DocLnkSearch() | 30 | DocLnkSearch::~DocLnkSearch() |
31 | { | 31 | { |
32 | } | 32 | } |
33 | 33 | ||
34 | void DocLnkSearch::load() | 34 | void DocLnkSearch::load() |
35 | { | 35 | { |
36 | _apps = new DocLnkSet(QPEApplication::documentDir()); | 36 | _apps = new DocLnkSet(QPEApplication::documentDir()); |
37 | } | 37 | } |
38 | 38 | ||
39 | void DocLnkSearch::insertItem( void *rec ) | 39 | void DocLnkSearch::insertItem( void *rec ) |
40 | { | 40 | { |
41 | new DocLnkItem( this, (DocLnk*)rec ); | 41 | new DocLnkItem( this, (DocLnk*)rec ); |
42 | _resultCount++; | ||
42 | } | 43 | } |