author | harlekin <harlekin> | 2004-03-01 16:38:12 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-03-01 16:38:12 (UTC) |
commit | 49615014f281a58bd9bde5543692ffddab052755 (patch) (side-by-side diff) | |
tree | fea29073a62a2217ce25976e492772f0636dce80 /core/pim/osearch/adresssearch.cpp | |
parent | 032f2d909293fb29e6c7e3cf9cce1a12484c80f7 (diff) | |
download | opie-49615014f281a58bd9bde5543692ffddab052755.zip opie-49615014f281a58bd9bde5543692ffddab052755.tar.gz opie-49615014f281a58bd9bde5543692ffddab052755.tar.bz2 |
osearch libopie1->libopie2
Diffstat (limited to 'core/pim/osearch/adresssearch.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/adresssearch.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/core/pim/osearch/adresssearch.cpp b/core/pim/osearch/adresssearch.cpp index 7681ea2..dbd6df6 100644 --- a/core/pim/osearch/adresssearch.cpp +++ b/core/pim/osearch/adresssearch.cpp @@ -13,2 +13,5 @@ #include "adresssearch.h" +#include "contactitem.h" + +#include <qpe/resource.h> @@ -17,6 +20,2 @@ //#include <qwhatsthis.h> -#include <qpe/resource.h> -#include <opie/ocontactaccess.h> - -#include "contactitem.h" @@ -26,6 +25,6 @@ AdressSearch::AdressSearch(QListView* parent, QString name): _contacts = 0; - QIconSet is = Resource::loadIconSet( "addressbook/AddressBookSmall" ); + QIconSet is = Resource::loadIconSet( "addressbook/AddressBookSmall" ); setPixmap( 0, is.pixmap( QIconSet::Large, true ) ); - - + + // QWhatsThis::add( this, QObject::tr("Search the addressbook") ); @@ -46,3 +45,3 @@ void AdressSearch::load() { - _contacts = new OContactAccess("osearch"); + _contacts = new OPimContactAccess("osearch"); } @@ -51,5 +50,5 @@ int AdressSearch::search() { - ORecordList<OContact> results = _contacts->matchRegexp(_search); + OPimRecordList<OPimContact> results = _contacts->matchRegexp(_search); for (uint i = 0; i < results.count(); i++) { - (void)new ContactItem( this, new OContact( results[i] )); + (void)new ContactItem( this, new OPimContact( results[i] )); } |