Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

ICQ2000::StatusChangeEvent Class Reference

The event signalled when a user's status changes. More...

#include <events.h>

Inheritance diagram for ICQ2000::StatusChangeEvent::

ICQ2000::ContactListEvent ICQ2000::Event List of all members.

Public Methods

 StatusChangeEvent (Contact *contact, Status status, Status old_status)
 Constructor for StatusChangeEvent. More...

EventType getType () const
 get the type of ContactListEvent. More...

Status getStatus () const
 get the new status of the contact. More...

Status getOldStatus () const
 get the old status of the contact. More...


Detailed Description

The event signalled when a user's status changes.


Constructor & Destructor Documentation

ICQ2000::StatusChangeEvent::StatusChangeEvent Contact *    contact,
Status    st,
Status    old_st
 

Constructor for StatusChangeEvent.

Parameters:
contact  the contact whose status has changed
st  the new status
old_st  the old status


Member Function Documentation

Status ICQ2000::StatusChangeEvent::getOldStatus   const
 

get the old status of the contact.

Returns:
the old status

Status ICQ2000::StatusChangeEvent::getStatus   const
 

get the new status of the contact.

Returns:
the new status

ContactListEvent::EventType ICQ2000::StatusChangeEvent::getType   const [virtual]
 

get the type of ContactListEvent.

Returns:
type of the ContactListEvent

Reimplemented from ICQ2000::ContactListEvent.


The documentation for this class was generated from the following files:
Generated on Tue Jan 15 12:24:38 2002 for libicq2000 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001