Diffstat (limited to 'core/pim/osearch/applnksearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/applnksearch.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/pim/osearch/applnksearch.cpp b/core/pim/osearch/applnksearch.cpp index 474dbb2..69170c9 100644 --- a/core/pim/osearch/applnksearch.cpp +++ b/core/pim/osearch/applnksearch.cpp | |||
@@ -4,35 +4,34 @@ | |||
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 "applnksearch.h" | 13 | #include "applnksearch.h" |
14 | #include "applnkitem.h" | 14 | #include "applnkitem.h" |
15 | 15 | ||
16 | #include <opie2/oresource.h> | ||
17 | |||
16 | #include <qpe/applnk.h> | 18 | #include <qpe/applnk.h> |
17 | #include <qpe/qpeapplication.h> | 19 | #include <qpe/qpeapplication.h> |
18 | #include <qpe/resource.h> | ||
19 | 20 | ||
20 | 21 | ||
21 | AppLnkSearch::AppLnkSearch(QListView* parent, QString name): SearchGroup(parent, name) | 22 | AppLnkSearch::AppLnkSearch(QListView* parent, QString name): SearchGroup(parent, name) |
22 | { | 23 | { |
23 | _apps = 0; | 24 | _apps = 0; |
24 | QIconSet is = Resource::loadIconSet( "osearch/applications" ); | 25 | setPixmap( 0, Opie::Core::OResource::loadPixmap( "osearch/applications", Opie::Core::OResource::SmallIcon ) ); |
25 | //QIconSet is = Resource::loadIconSet( "AppsIcon" ); | ||
26 | setPixmap( 0, is.pixmap( QIconSet::Large, true ) ); | ||
27 | } | 26 | } |
28 | 27 | ||
29 | 28 | ||
30 | AppLnkSearch::~AppLnkSearch() | 29 | AppLnkSearch::~AppLnkSearch() |
31 | { | 30 | { |
32 | delete _apps; | 31 | delete _apps; |
33 | } | 32 | } |
34 | 33 | ||
35 | 34 | ||
36 | void AppLnkSearch::load() | 35 | void AppLnkSearch::load() |
37 | { | 36 | { |
38 | _apps = new AppLnkSet(QPEApplication::qpeDir()); | 37 | _apps = new AppLnkSet(QPEApplication::qpeDir()); |