equal
deleted
inserted
replaced
27 class LocationPickerDataManager; |
27 class LocationPickerDataManager; |
28 class LocationPickerProxyModel; |
28 class LocationPickerProxyModel; |
29 class HbDocumentLoader; |
29 class HbDocumentLoader; |
30 class HbTextItem; |
30 class HbTextItem; |
31 class QGraphicsLinearLayout; |
31 class QGraphicsLinearLayout; |
|
32 class HbAbstractViewItem; |
|
33 class QPoint; |
|
34 class HbMenu; |
32 |
35 |
33 /** |
36 /** |
34 * Class defines the search view of location picker |
37 * Class defines the search view of location picker |
35 */ |
38 */ |
36 class LocationPickerSearchView : public HbView |
39 class LocationPickerSearchView : public HbView |
50 void doSearch( QString aCriteria ); |
53 void doSearch( QString aCriteria ); |
51 // slot to handle select event on a list item |
54 // slot to handle select event on a list item |
52 void handleActivated(const QModelIndex &aIndex); |
55 void handleActivated(const QModelIndex &aIndex); |
53 // slot to handle backbutton on search panel |
56 // slot to handle backbutton on search panel |
54 void handleExit(); |
57 void handleExit(); |
|
58 //launch context menu |
|
59 void launchPopUpMenu(HbAbstractViewItem *aItem, const QPointF &aPoint); |
|
60 //handle long press |
|
61 void handleLongPress(); |
55 signals: |
62 signals: |
56 //signals to switch current view |
63 //signals to switch current view |
57 void switchView(); |
64 void switchView(); |
58 //signals when any item is selected |
65 //signals when any item is selected |
59 void selectItem( quint32 aLm ); |
66 void selectItem( quint32 aLm ); |
70 HbTextItem* mEmptyLabel; |
77 HbTextItem* mEmptyLabel; |
71 //Graphicslayout |
78 //Graphicslayout |
72 QGraphicsLinearLayout* mVerticalLayout; |
79 QGraphicsLinearLayout* mVerticalLayout; |
73 //Documentloader |
80 //Documentloader |
74 HbDocumentLoader &mDocumentLoader; |
81 HbDocumentLoader &mDocumentLoader; |
|
82 QModelIndex mIndex; |
|
83 //context menu |
|
84 HbMenu* mLongPressMenu; |
75 }; |
85 }; |
76 |
86 |
77 |
87 |
78 #endif // LOCATIONPICKERSEARCHVIEW_H |
88 #endif // LOCATIONPICKERSEARCHVIEW_H |