--- a/locationpickerservice/inc/locationpickersearchview.h Mon May 03 12:27:22 2010 +0300
+++ b/locationpickerservice/inc/locationpickersearchview.h Fri May 14 15:47:27 2010 +0300
@@ -38,14 +38,16 @@
Q_OBJECT
public:
// constructor
- LocationPickerSearchView(HbDocumentLoader &aLoader);
+ LocationPickerSearchView( HbDocumentLoader &aLoader );
// destructor
~LocationPickerSearchView();
//initialize the action items and connect to slots
- void init();
+ void init( QStandardItemModel *aModel );
+private:
+ void getData( QModelIndex aIndex, quint32& aValue );
private slots:
// slot to perform search
- void doSearch(QString aCriteria);
+ void doSearch( QString aCriteria );
// slot to handle select event on a list item
void handleActivated(const QModelIndex &aIndex);
// slot to handle backbutton on search panel
@@ -64,8 +66,6 @@
HbListView *mListView;
// search panel
HbSearchPanel *mSearchPanel;
- // handle to data manager to populate model
- LocationPickerDataManager *mDataManager;
//TextItem
HbTextItem* mEmptyLabel;
//Graphicslayout