Diffstat (limited to 'core/pim/osearch/doclnksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/doclnksearch.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/pim/osearch/doclnksearch.cpp b/core/pim/osearch/doclnksearch.cpp index f2a60e9..123eaa0 100644 --- a/core/pim/osearch/doclnksearch.cpp +++ b/core/pim/osearch/doclnksearch.cpp | |||
@@ -1,34 +1,38 @@ | |||
1 | // | 1 | // |
2 | // | 2 | // |
3 | // C++ Implementation: $MODULE$ | 3 | // C++ Implementation: $MODULE$ |
4 | // | 4 | // |
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 "doclnksearch.h" | 13 | #include "doclnksearch.h" |
14 | 14 | ||
15 | #include <qpe/applnk.h> | 15 | #include <qpe/applnk.h> |
16 | #include <qpe/qpeapplication.h> | 16 | #include <qpe/qpeapplication.h> |
17 | #include <qiconset.h> | ||
18 | #include <qpe/resource.h> | ||
17 | 19 | ||
18 | #include "doclnkitem.h" | 20 | #include "doclnkitem.h" |
19 | 21 | ||
20 | DocLnkSearch::DocLnkSearch(QListView* parent, QString name) | 22 | DocLnkSearch::DocLnkSearch(QListView* parent, QString name) |
21 | : AppLnkSearch(parent, name) | 23 | : AppLnkSearch(parent, name) |
22 | { | 24 | { |
25 | QIconSet is = Resource::loadIconSet( "osearch/documents" ); | ||
26 | setPixmap( 0, is.pixmap( QIconSet::Small, true ) ); | ||
23 | } | 27 | } |
24 | 28 | ||
25 | 29 | ||
26 | DocLnkSearch::~DocLnkSearch() | 30 | DocLnkSearch::~DocLnkSearch() |
27 | { | 31 | { |
28 | } | 32 | } |
29 | 33 | ||
30 | void DocLnkSearch::load() | 34 | void DocLnkSearch::load() |
31 | { | 35 | { |
32 | _apps = new DocLnkSet(QPEApplication::documentDir()); | 36 | _apps = new DocLnkSet(QPEApplication::documentDir()); |
33 | } | 37 | } |
34 | 38 | ||