#include <contactitem.h>
Inheritance diagram for ContactItem:

Public Member Functions | |
| ContactItem (const Contact *pContact, ContactListItem *parent) | |
| Constructor. | |
| ~ContactItem () | |
| Destructor. | |
| void | setContact (const Contact *pContact) |
| Set this item's contact. | |
| const Contact * | getContact () const |
| Returns the contact this item represents. | |
| bool | isContactItem () const |
| Returns if this item contains a Contact. | |
| void | paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align) |
| Override method to paint the cell. | |
The difference with the ContactListItem is that he really represent a Contact.
Yves Houpert <yves.houpert@insa-rouen.fr>
|
||||||||||||
|
Constructor.
|
|
|
Returns the contact this item represents.
Reimplemented from ContactListItem. |
|
|
Returns if this item contains a Contact.
Reimplemented from ContactListItem. |
|
||||||||||||||||||||||||
|
Override method to paint the cell. It changes the text color according to the contact state.
|
|
|
Set this item's contact.
|
1.4.6