messagingapp/msgui/msgapp/inc/msglistviewitem.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
    70     /**
    70     /**
    71      * Returns the value of mUnReadMsg
    71      * Returns the value of mUnReadMsg
    72      * @return bool
    72      * @return bool
    73      */
    73      */
    74     bool hasUnReadMsg();
    74     bool hasUnReadMsg();
    75  		    
    75     
       
    76 private:
       
    77 
       
    78     /**
       
    79      * Returns the preview text based on message type, sub type and state.
       
    80      * @return QString
       
    81      */
       
    82     QString previewText(int msgType, int msgSubType, int msgState,int msgDirection);
       
    83  
       
    84     /**
       
    85      * return the preview text based on state.
       
    86      * @return bool
       
    87      */
       
    88     QString textBySendState(int sendState,int msgDirection);
       
    89     
    76 private:
    90 private:
    77     /**
    91     /**
    78  	   * Property to change the color of text
    92  	   * Property to change the color of text
    79 	   */
    93 	   */
    80     bool mUnReadMsg;
    94     bool mUnReadMsg;