equal
deleted
inserted
replaced
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; |