messagingapp/msgui/conversationview/inc/msgconversationview.h
changeset 56 f42d9a78f435
parent 51 3507212d340e
child 62 fdbe8253b596
equal deleted inserted replaced
55:5b3b2fa8c3ec 56:f42d9a78f435
    31 class MsgContactCardWidget;
    31 class MsgContactCardWidget;
    32 class MsgConversationViewItem;
    32 class MsgConversationViewItem;
    33 class HbStaticVkbHost;
    33 class HbStaticVkbHost;
    34 class QGraphicsLinearLayout;
    34 class QGraphicsLinearLayout;
    35 class HbAction;
    35 class HbAction;
       
    36 class MsgAudioFetcherDialog;
       
    37 
    36 //Defines
    38 //Defines
    37 #define INVALID_MSG_ID -1
    39 #define INVALID_MSG_ID -1
    38 
    40 
    39 /**
    41 /**
    40  * This class provides the message chat view for the messaging application.
    42  * This class provides the message chat view for the messaging application.
   335      * @param messageId, message id.
   337      * @param messageId, message id.
   336      * @return true is shared among conversations.
   338      * @return true is shared among conversations.
   337      */
   339      */
   338     bool isSharedMessage(qint32 messageId);
   340     bool isSharedMessage(qint32 messageId);
   339     
   341     
       
   342     /** 
       
   343      * This slot is called after sound clip is 
       
   344      * selected from audio fetcher dialog    
       
   345      */
       
   346     void onAudioSelected(QString& filePath);
       
   347     
   340 signals:
   348 signals:
   341     /**
   349     /**
   342      * Signal emitted to inform close the conversation view.
   350      * Signal emitted to inform close the conversation view.
   343      * When Conversation view has opened in send mode, after sending
   351      * When Conversation view has opened in send mode, after sending
   344      * the message, this signal is emitted.
   352      * the message, this signal is emitted.
   447      * Instance of VKB 
   455      * Instance of VKB 
   448      */
   456      */
   449     HbStaticVkbHost* mVkbHost;
   457     HbStaticVkbHost* mVkbHost;
   450     
   458     
   451     /**
   459     /**
       
   460      * Instance of Audio Fetcher Dialog
       
   461      * Need to show when attachment audio selected
       
   462      */
       
   463     MsgAudioFetcherDialog* mDialog;
       
   464     
       
   465     /**
   452      * variable holding the visible model index
   466      * variable holding the visible model index
   453      */
   467      */
   454     QModelIndex mVisibleIndex;
   468     QModelIndex mVisibleIndex;
   455     
   469     
   456     /**
   470     /**
   461     
   475     
   462     /**
   476     /**
   463      * Flag is set when 
   477      * Flag is set when 
   464      */
   478      */
   465     bool mViewReady;
   479     bool mViewReady;
       
   480 
       
   481 #ifdef MSGUI_UNIT_TEST
       
   482     /**
       
   483      * Unit Testing
       
   484      */
       
   485     friend class TestMsgConversationView;
       
   486 #endif
   466 };
   487 };
   467 
   488 
   468 #endif // MSG_CONVERSATION_VIEW_H
   489 #endif // MSG_CONVERSATION_VIEW_H
   469 // EOF
   490 // EOF