diff -r ebfee66fde93 -r 84197e66a4bd messagingapp/msgui/conversationview/inc/msgconversationview.h --- a/messagingapp/msgui/conversationview/inc/msgconversationview.h Fri Jun 04 10:25:39 2010 +0100 +++ b/messagingapp/msgui/conversationview/inc/msgconversationview.h Fri Jun 11 13:35:48 2010 +0300 @@ -102,6 +102,22 @@ */ void onDialogSaveTone(HbAction* action); + /** + * This slot is called when the orientation is changed + * @param newOrientation orientation + */ + void onOrientationChanged(Qt::Orientation newOrientation); + + /** + * This slot is called when the orientation is about to bechanged + */ + void onOrientationAboutToBeChanged(); + + /** + * This slot is called when the view is successfully added to main window + */ + void onViewReady(); + private: /** @@ -181,15 +197,6 @@ * @see ConvergedMessage::MessageType */ void addDownloadItemToContextMenu(MsgConversationViewItem* item, HbMenu* contextMenu); - - /** - * Validates if message can be forwarded - * @param messageType - * @param messageId - * @return true if message can be forwarded - * false if message cant be forwarded - */ - bool validateMsgForForward(int &messageType,qint32 &messageId); /** * Launches the BT message display service. @@ -328,10 +335,11 @@ */ void replyStarted(); - /** - * This signal is emitted when vkb is open. - */ - void hideChrome(bool); + /** + * This signal is emitted when vkb is open/closed. + * @param state True if keypad is opened else false. + */ + void vkbOpened(bool state); private slots: /** @@ -410,11 +418,6 @@ */ QGraphicsLinearLayout *mMainLayout; - /** - * Flag to track if item has been long pressed. - * TODO: Remove it, once unique longpress and click event signal released in week16 - */ - bool mItemLongPressed; /* * Instance of VKB */ @@ -425,6 +428,11 @@ */ bool mVkbopened; + /** + * variable holding the visible model index + */ + QModelIndex mVisibleIndex; + }; #endif // MSG_CONVERSATION_VIEW_H