Diffstat (limited to 'core/pim/osearch/adresssearch.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/adresssearch.cpp | 13 |
1 files changed, 6 insertions, 7 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" @@ -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] )); } |