--- a/locationpickerservice/inc/locationpickersearchview.h Wed Jun 23 18:07:15 2010 +0300
+++ b/locationpickerservice/inc/locationpickersearchview.h Tue Jul 06 14:10:28 2010 +0300
@@ -48,7 +48,11 @@
void init( QStandardItemModel *aModel );
private:
void getData( QModelIndex aIndex, quint32& aValue );
+#ifdef LOCPICKER_UNIT_TEST
+public slots:
+#else
private slots:
+#endif
// slot to perform search
void doSearch( QString aCriteria );
// slot to handle select event on a list item
@@ -59,12 +63,18 @@
void launchPopUpMenu(HbAbstractViewItem *aItem, const QPointF &aPoint);
//handle long press
void handleLongPress();
+ //delete context menu
+ void deleteMenu();
signals:
//signals to switch current view
void switchView();
//signals when any item is selected
void selectItem( quint32 aLm );
+#ifdef LOCPICKER_UNIT_TEST
+public:
+#else
private:
+#endif
//proxymodel used for sort and filter
LocationPickerProxyModel *mProxyModel;
// model for the view
@@ -82,6 +92,8 @@
QModelIndex mIndex;
//context menu
HbMenu* mLongPressMenu;
+ //select action
+ HbAction* mSelectAction;
};