equal
deleted
inserted
replaced
18 #ifndef MSG_CONVERSATIONWIDGET_H |
18 #ifndef MSG_CONVERSATIONWIDGET_H |
19 #define MSG_CONVERSATIONWIDGET_H |
19 #define MSG_CONVERSATIONWIDGET_H |
20 |
20 |
21 // SYSTEM INCLUDES |
21 // SYSTEM INCLUDES |
22 #include <hbwidget.h> |
22 #include <hbwidget.h> |
|
23 #include <HbIcon> |
23 |
24 |
24 // FORWORD DECLARATIONS |
25 // FORWORD DECLARATIONS |
25 class HbFrameItem; |
26 class HbFrameItem; |
26 class HbIconItem; |
27 class HbIconItem; |
27 class HbTextItem; |
28 class HbTextItem; |
84 * @param QString |
85 * @param QString |
85 */ |
86 */ |
86 void setBodyText(const QString &bodyText); |
87 void setBodyText(const QString &bodyText); |
87 |
88 |
88 /** |
89 /** |
89 * Set preview icon path for this widget |
90 * Set preview icon for this widget |
90 * @param QString |
91 * @param HbIcon, preview-icon |
91 */ |
92 */ |
92 void setPreviewIconPath(const QString& filePath,int msgId); |
93 void setPreviewIcon(HbIcon& icon); |
93 |
94 |
94 /** |
95 /** |
95 * Set priority property |
96 * Set priority property |
96 * @param priority Set high/low/normal priority |
97 * @param priority Set high/low/normal priority |
97 * @attention Pass high/low/normal priority to this function. |
98 * @attention Pass high/low/normal priority to this function. |
275 /** |
276 /** |
276 * Function to reset widget items. |
277 * Function to reset widget items. |
277 */ |
278 */ |
278 void resetProperties(); |
279 void resetProperties(); |
279 |
280 |
280 /** |
281 /** |
281 * Function to repolish the widget |
282 * Function to repolish widget. |
282 */ |
283 */ |
283 void repolishWidget(); |
284 void repolishWidget(); |
284 |
285 |
|
286 protected: |
|
287 |
|
288 /* |
|
289 * @see HbWidget |
|
290 */ |
|
291 virtual void polish(HbStyleParameters ¶ms); |
|
292 |
|
293 private slots: |
|
294 |
|
295 /* |
|
296 * Handler for orientation changed |
|
297 * @param orientation Qt::Orientation |
|
298 */ |
|
299 void orientationchanged(Qt::Orientation orientation); |
|
300 |
285 private: |
301 private: |
286 |
302 |
287 /** |
303 /** |
288 * Initialize the widget. |
304 * Initialize the widget. |
289 */ |
305 */ |