ListeWidget Class Reference

Main widget of Bamboo Ch application. More...

#include <listewidget.h>

List of all members.

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)


Detailed Description

Main widget of Bamboo Ch application.

It displays the contact list and the contact status.

Author:
Sylvain Archenault <sylvain.archenault@laposte.net>

Yves Houpert <yves.houpert@insa-rouen.fr>


Constructor & Destructor Documentation

ListeWidget::ListeWidget QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Constructor.

Parameters:
parent Parent QWidget.
name QObject name.
fl QWidget specific flags.


Member Function Documentation

void ListeWidget::addContact const Contact pContact  ) 
 

Adds a contact to the list.

Parameters:
pContact Contact to add.

bool ListeWidget::removeContact const int  id  ) 
 

Removes a contact from the list.

Parameters:
id Contact ID to remove.
Returns:
true if success, false otherwise.

void ListeWidget::setEnabled const bool  bEnable  ) 
 

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.

Parameters:
bEnable Enable state.

void ListeWidget::updateContactList  ) 
 

Update contact list content.

Update the contact list content during the next iteration of the event loop.


The documentation for this class was generated from the following files:
Generated on Fri May 19 12:15:55 2006 for Bamboo Ch@t by  doxygen 1.4.6