#include <events.h>
Inheritance diagram for ICQ2000::ContactListEvent:
Public Types | |
enum | EventType { UserAdded, UserRemoved } |
An enum of the different contact list event types. | |
Public Methods | |
ContactListEvent (ContactRef c) | |
Base constructor for contact list events. More... | |
virtual | ~ContactListEvent () |
Destructor for ContactListEvent. | |
ContactRef | getContact () const |
get the contact. More... | |
unsigned int | getUIN () const |
get the uin of the contact. More... | |
virtual EventType | getType () const=0 |
get the type of ContactListEvent. More... | |
Protected Attributes | |
ContactRef | m_contact |
The contact this event refers to. |
|
Base constructor for contact list events.
|
|
get the contact.
|
|
get the type of ContactListEvent.
Implemented in ICQ2000::UserAddedEvent, and ICQ2000::UserRemovedEvent. |
|
get the uin of the contact. This could be done just as easily, with getContact()->getUIN(), provided for convenience.
|