#include <listewidget.h>
Public Member Functions | |
| ListeWidget (QWidget *parent=0, const char *name=0, WFlags fl=0) | |
| Constructor. | |
| ~ListeWidget () | |
| desctructor. | |
| bool | removeContact (const int id) |
| Removes a contact from the list. | |
| void | addContact (const Contact *pContact) |
| Adds a contact to the list. | |
| void | setEnabled (const bool bEnable) |
| Change the widget enable state. | |
| bool | isEnabled () const |
| Returns if the list is enabled or not. | |
| void | removeAllContacts () |
| Removes all contacts from the list. | |
| void | setState (int state) |
| It changes status combobox. | |
| void | updateContactList () |
| Update contact list content. | |
| void | setPseudo (const std::string &pseudo) |
It displays the contact list and the contact status.
Yves Houpert <yves.houpert@insa-rouen.fr>
|
||||||||||||||||
|
Constructor.
|
|
|
Adds a contact to the list.
|
|
|
Removes a contact from the list.
|
|
|
Change the widget enable state. If bEnable is true, all widget components will be activated. otherwise, they will be desactivated. Activate state corresponds to a online state.
|
|
|
Update contact list content. Update the contact list content during the next iteration of the event loop. |
1.4.6