equal
deleted
inserted
replaced
22 #define UNI_VIEWER_DLL Q_DECL_EXPORT |
22 #define UNI_VIEWER_DLL Q_DECL_EXPORT |
23 #else |
23 #else |
24 #define UNI_VIEWER_DLL Q_DECL_IMPORT |
24 #define UNI_VIEWER_DLL Q_DECL_IMPORT |
25 #endif |
25 #endif |
26 |
26 |
|
27 #include <sqldb.h> |
27 #include "msgbaseview.h" |
28 #include "msgbaseview.h" |
28 |
29 |
29 #include "convergedmessage.h" |
30 #include "convergedmessage.h" |
30 |
31 |
31 class UniViewerFeeder; |
32 class UniViewerFeeder; |
44 |
45 |
45 public: |
46 public: |
46 /** |
47 /** |
47 * Constructor |
48 * Constructor |
48 */ |
49 */ |
49 UnifiedViewer(const qint32 messageId, |
50 UnifiedViewer(const qint32 messageId, |
50 int canForwardMessage = 0, |
|
51 QGraphicsItem *parent = 0); |
51 QGraphicsItem *parent = 0); |
52 |
52 |
53 /** |
53 /** |
54 * Destructor |
54 * Destructor |
55 */ |
55 */ |
67 * @see HbWidget |
67 * @see HbWidget |
68 */ |
68 */ |
69 void resizeEvent(QGraphicsSceneResizeEvent * event); |
69 void resizeEvent(QGraphicsSceneResizeEvent * event); |
70 |
70 |
71 private: |
71 private: |
|
72 /** |
|
73 * Check if this message can be forwarded |
|
74 * @return true, if possible to forward |
|
75 */ |
|
76 bool isForwardOk(); |
72 |
77 |
73 /** |
78 /** |
74 * Creates tool bar actions |
79 * Creates tool bar actions |
75 * @see HbView |
80 * @see HbView |
76 */ |
81 */ |
152 |
157 |
153 /** |
158 /** |
154 * Message count |
159 * Message count |
155 */ |
160 */ |
156 int mMsgCount; |
161 int mMsgCount; |
157 |
|
158 /** |
|
159 * Forward status of message |
|
160 */ |
|
161 bool mForwardMessage; |
|
162 }; |
162 }; |
163 |
163 |
164 #endif |
164 #endif |
165 // EOF |
165 // EOF |