equal
deleted
inserted
replaced
100 * This slot is called when save tone dialog is launched. |
100 * This slot is called when save tone dialog is launched. |
101 * @param action selected action (yes or no). |
101 * @param action selected action (yes or no). |
102 */ |
102 */ |
103 void onDialogSaveTone(HbAction* action); |
103 void onDialogSaveTone(HbAction* action); |
104 |
104 |
|
105 /** |
|
106 * This slot is called when the orientation is changed |
|
107 * @param newOrientation orientation |
|
108 */ |
|
109 void onOrientationChanged(Qt::Orientation newOrientation); |
|
110 |
|
111 /** |
|
112 * This slot is called when the orientation is about to bechanged |
|
113 */ |
|
114 void onOrientationAboutToBeChanged(); |
|
115 |
|
116 /** |
|
117 * This slot is called when the view is successfully added to main window |
|
118 */ |
|
119 void onViewReady(); |
|
120 |
105 private: |
121 private: |
106 |
122 |
107 /** |
123 /** |
108 * View initialization function. |
124 * View initialization function. |
109 */ |
125 */ |
179 * @param MsgConversationViewItem* item whose information is needed. |
195 * @param MsgConversationViewItem* item whose information is needed. |
180 * @param HbMenu context menu |
196 * @param HbMenu context menu |
181 * @see ConvergedMessage::MessageType |
197 * @see ConvergedMessage::MessageType |
182 */ |
198 */ |
183 void addDownloadItemToContextMenu(MsgConversationViewItem* item, HbMenu* contextMenu); |
199 void addDownloadItemToContextMenu(MsgConversationViewItem* item, HbMenu* contextMenu); |
184 |
|
185 /** |
|
186 * Validates if message can be forwarded |
|
187 * @param messageType |
|
188 * @param messageId |
|
189 * @return true if message can be forwarded |
|
190 * false if message cant be forwarded |
|
191 */ |
|
192 bool validateMsgForForward(int &messageType,qint32 &messageId); |
|
193 |
200 |
194 /** |
201 /** |
195 * Launches the BT message display service. |
202 * Launches the BT message display service. |
196 * @param index Index of the item activated/touched |
203 * @param index Index of the item activated/touched |
197 */ |
204 */ |
326 /** |
333 /** |
327 * Emitted when editor is tapped to reply. |
334 * Emitted when editor is tapped to reply. |
328 */ |
335 */ |
329 void replyStarted(); |
336 void replyStarted(); |
330 |
337 |
331 /** |
338 /** |
332 * This signal is emitted when vkb is open. |
339 * This signal is emitted when vkb is open/closed. |
333 */ |
340 * @param state True if keypad is opened else false. |
334 void hideChrome(bool); |
341 */ |
|
342 void vkbOpened(bool state); |
335 |
343 |
336 private slots: |
344 private slots: |
337 /** |
345 /** |
338 * Resizes the view when VKB is opened. |
346 * Resizes the view when VKB is opened. |
339 * This slot is triggered when user taps on the CV editor |
347 * This slot is triggered when user taps on the CV editor |
408 /** |
416 /** |
409 * Instance of the main layout. |
417 * Instance of the main layout. |
410 */ |
418 */ |
411 QGraphicsLinearLayout *mMainLayout; |
419 QGraphicsLinearLayout *mMainLayout; |
412 |
420 |
413 /** |
|
414 * Flag to track if item has been long pressed. |
|
415 * TODO: Remove it, once unique longpress and click event signal released in week16 |
|
416 */ |
|
417 bool mItemLongPressed; |
|
418 /* |
421 /* |
419 * Instance of VKB |
422 * Instance of VKB |
420 */ |
423 */ |
421 HbStaticVkbHost* mVkbHost; |
424 HbStaticVkbHost* mVkbHost; |
422 |
425 |
423 /** |
426 /** |
424 * Flag to check it vkb is open. |
427 * Flag to check it vkb is open. |
425 */ |
428 */ |
426 bool mVkbopened; |
429 bool mVkbopened; |
427 |
430 |
|
431 /** |
|
432 * variable holding the visible model index |
|
433 */ |
|
434 QModelIndex mVisibleIndex; |
|
435 |
428 }; |
436 }; |
429 |
437 |
430 #endif // MSG_CONVERSATION_VIEW_H |
438 #endif // MSG_CONVERSATION_VIEW_H |
431 // EOF |
439 // EOF |