#include <events.h>
Inheritance diagram for ICQ2000::ContactListEvent::
Public Types | |
enum | EventType { StatusChange, UserInfoChange, UserAdded, UserRemoved, MessageQueueChanged, ServerBasedContact } |
An enum of the different contact list event types. | |
Public Methods | |
ContactListEvent (Contact *c) | |
Base constructor for contact list events. More... | |
virtual | ~ContactListEvent () |
Destructor for ContactListEvent. | |
Contact * | 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 | |
Contact * | m_contact |
The contact this event refers to. |
|
Base constructor for contact list events.
|
|
get the contact.
|
|
get the type of ContactListEvent.
Reimplemented in ICQ2000::UserInfoChangeEvent, ICQ2000::ServerBasedContactEvent, ICQ2000::UserAddedEvent, ICQ2000::UserRemovedEvent, ICQ2000::MessageQueueChangedEvent, and ICQ2000::StatusChangeEvent. |
|
get the uin of the contact. This could be done just as easily, with getContact()->getUIN(), provided for convenience.
|