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