author | drw <drw> | 2005-04-15 17:18:32 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-15 17:18:32 (UTC) |
commit | e2d5048b65d95ba7d658aabadece4e91f17f6310 (patch) (side-by-side diff) | |
tree | f1ab32bf3790a315554fe4baa191d74f80d66933 /core/pim/osearch/adresssearch.cpp | |
parent | 4bf8d42034beee5e28b25182e21cf74f3c2da6a8 (diff) | |
download | opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.zip opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.tar.gz opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'core/pim/osearch/adresssearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/adresssearch.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/osearch/adresssearch.cpp b/core/pim/osearch/adresssearch.cpp index e1f575d..d260670 100644 --- a/core/pim/osearch/adresssearch.cpp +++ b/core/pim/osearch/adresssearch.cpp @@ -10,23 +10,22 @@ // Copyright: See COPYING file that comes with this distribution // // #include "adresssearch.h" #include "contactitem.h" -#include <qpe/resource.h> +#include <opie2/oresource.h> //#include <qwhatsthis.h> using namespace Opie; AdressSearch::AdressSearch(QListView* parent, QString name): SearchGroup(parent, name) { _contacts = 0; - QIconSet is = Resource::loadIconSet( "addressbook/AddressBook" ); - setPixmap( 0, is.pixmap( QIconSet::Large, true ) ); + setPixmap( 0, Opie::Core::OResource::loadPixmap( "addressbook/AddressBook", Opie::Core::OResource::SmallIcon ) ); // QWhatsThis::add( this, QObject::tr("Search the addressbook") ); /* QPixmap pix = Resource::loadPixmap( "addressbook/AddressBook" ); QImage img = pix.convertToImage(); img.smoothScale( 14, 14 ); |