summaryrefslogtreecommitdiff
path: root/core/pim/osearch/adresssearch.cpp
authordrw <drw>2005-04-15 17:18:32 (UTC)
committer drw <drw>2005-04-15 17:18:32 (UTC)
commite2d5048b65d95ba7d658aabadece4e91f17f6310 (patch) (unidiff)
treef1ab32bf3790a315554fe4baa191d74f80d66933 /core/pim/osearch/adresssearch.cpp
parent4bf8d42034beee5e28b25182e21cf74f3c2da6a8 (diff)
downloadopie-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.cpp5
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 @@
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 "adresssearch.h" 13#include "adresssearch.h"
14#include "contactitem.h" 14#include "contactitem.h"
15 15
16#include <qpe/resource.h> 16#include <opie2/oresource.h>
17 17
18//#include <qwhatsthis.h> 18//#include <qwhatsthis.h>
19 19
20using namespace Opie; 20using namespace Opie;
21AdressSearch::AdressSearch(QListView* parent, QString name): 21AdressSearch::AdressSearch(QListView* parent, QString name):
22 SearchGroup(parent, name) 22 SearchGroup(parent, name)
23{ 23{
24 _contacts = 0; 24 _contacts = 0;
25 QIconSet is = Resource::loadIconSet( "addressbook/AddressBook" ); 25 setPixmap( 0, Opie::Core::OResource::loadPixmap( "addressbook/AddressBook", Opie::Core::OResource::SmallIcon ) );
26 setPixmap( 0, is.pixmap( QIconSet::Large, true ) );
27 26
28 27
29 //QWhatsThis::add( this, QObject::tr("Search the addressbook") ); 28 //QWhatsThis::add( this, QObject::tr("Search the addressbook") );
30 /*QPixmap pix = Resource::loadPixmap( "addressbook/AddressBook" ); 29 /*QPixmap pix = Resource::loadPixmap( "addressbook/AddressBook" );
31 QImage img = pix.convertToImage(); 30 QImage img = pix.convertToImage();
32 img.smoothScale( 14, 14 ); 31 img.smoothScale( 14, 14 );