equal
deleted
inserted
replaced
58 * Clears the contents of the widget. |
58 * Clears the contents of the widget. |
59 */ |
59 */ |
60 void clearContent(); |
60 void clearContent(); |
61 |
61 |
62 protected: |
62 protected: |
63 |
|
64 /** |
63 /** |
65 * called when mouse is pressed. |
64 * Gesture event, overridden from base class. |
66 */ |
65 */ |
67 void mousePressEvent(QGraphicsSceneMouseEvent *event); |
66 void gestureEvent(QGestureEvent* event); |
68 |
|
69 /** |
|
70 * called when mouse is released. |
|
71 */ |
|
72 void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); |
|
73 |
67 |
74 private: |
68 private: |
75 /** |
69 /** |
76 * Helper method to highlight find item on tap. |
70 * Helper method to highlight find item on tap. |
77 * @param highlight, if true highlight else dont. |
71 * @param highlight, if true highlight else dont. |
104 /** |
98 /** |
105 * Called when option menu is closed. |
99 * Called when option menu is closed. |
106 */ |
100 */ |
107 void menuClosed(); |
101 void menuClosed(); |
108 |
102 |
109 //handlers for phone number specific menu items. |
103 /** |
|
104 * handlers for phone number specific menu items. |
|
105 */ |
110 void openContactInfo(); |
106 void openContactInfo(); |
111 void call(); |
107 void call(); |
112 void saveToContacts(); |
108 void saveToContacts(); |
113 void sendMessage(); |
109 void sendMessage(); |
114 void copyToClipboard(); |
110 void copyToClipboard(); |
115 |
111 |
116 //called after service request is completed. |
112 /** |
|
113 * called after service request is completed. |
|
114 */ |
117 void onServiceRequestCompleted(); |
115 void onServiceRequestCompleted(); |
118 |
116 |
119 /** |
117 /** |
120 * Slot for handling valid returns from the framework. |
118 * Slot for handling valid returns from the framework. |
121 * |
119 * |