equal
deleted
inserted
replaced
16 */ |
16 */ |
17 |
17 |
18 #ifndef MSG_CONVERSATION_VIEW_INTERFACE_H |
18 #ifndef MSG_CONVERSATION_VIEW_INTERFACE_H |
19 #define MSG_CONVERSATION_VIEW_INTERFACE_H |
19 #define MSG_CONVERSATION_VIEW_INTERFACE_H |
20 |
20 |
21 #ifdef CONVERSATIONVIEW_DLL |
21 #ifdef MSGUI_UNIT_TEST |
22 #define CONVERSATION_VIEW_EXPORT Q_DECL_EXPORT |
22 #define CONVERSATION_VIEW_EXPORT |
23 #else |
23 #else |
24 #define CONVERSATION_VIEW_EXPORT Q_DECL_IMPORT |
24 #ifdef CONVERSATIONVIEW_DLL |
|
25 #define CONVERSATION_VIEW_EXPORT Q_DECL_EXPORT |
|
26 #else |
|
27 #define CONVERSATION_VIEW_EXPORT Q_DECL_IMPORT |
|
28 #endif |
25 #endif |
29 #endif |
26 |
30 |
27 #include <xqsettingskey.h> |
31 #include <xqsettingskey.h> |
28 #include "msgbaseview.h" |
32 #include "msgbaseview.h" |
29 |
33 |
77 /** |
81 /** |
78 * conversationId |
82 * conversationId |
79 * Get the conversationId |
83 * Get the conversationId |
80 */ |
84 */ |
81 qint64 conversationId(); |
85 qint64 conversationId(); |
|
86 |
|
87 /** |
|
88 * Event handler |
|
89 * @param key Key code |
|
90 * @return true if key event handled else false. |
|
91 * @see MsgBaseView |
|
92 */ |
|
93 bool handleKeyEvent(int key); |
82 |
94 |
83 public slots: |
95 public slots: |
84 /** |
96 /** |
85 * Close the conversation view |
97 * Close the conversation view |
86 * This slot is triggered when user presses back(seconday sofykey) |
98 * This slot is triggered when user presses back(seconday sofykey) |