#include <clientwidget.h>
Public Member Functions | |
| ClientWidget (const Contact &user, const Contact &contact, QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| Constructor. | |
| ~ClientWidget () | |
| Destructor. | |
| void | newMessage (const std::string &message) |
| Appends a new message. | |
| void | enableWidget (bool enable) |
| Enable or disable widget. | |
| void | newSystemMessage (const std::string &msg, bool enable) |
| Appends a new system message. | |
Protected Slots | |
| virtual void | envoyer_clicked () |
| Slot called when the user send a message. | |
Protected Member Functions | |
| void | hideEvent (QHideEvent *e) |
| Overloaded method called when the widget is hidden. | |
Protected Attributes | |
| Contact | m_User |
| Contact representing the user. | |
| Contact | m_Contact |
| Contact of the discussion. | |
| bool | m_bEnable |
| Stores widget state. | |
Yves Houpert <yves.houpert@insa-rouen.fr>
|
||||||||||||||||||||||||
|
Constructor.
|
|
|
Enable or disable widget. That is to say, if user could send new message.
|
|
|
Appends a new message.
|
|
||||||||||||
|
Appends a new system message.
|
|
|
Stores widget state. true if widget should be enabled, false. Id widget is disabled, user can't send messge. |
1.4.6