Logo Search packages:      
Sourcecode: kmess version File versions  Download package

Contact Class Reference

#include <contact.h>

Inheritance diagram for Contact:

ContactBase

List of all members.


Detailed Description

A contact from the contact list.
Author:
Mike K. Bennett

Definition at line 35 of file contact.h.


Public Types

enum  MsnClientCapabilities {
  MSN_CAP_WIN_MOBILE = 0x01, MSN_CAP_INK_GIF = 0x04, MSN_CAP_INK_ISF = 0x08, MSN_CAP_VIDEO_CHAT = 0x10,
  MSN_CAP_MULTI_PACKET = 0x20, MSN_CAP_MSN_MOBILE = 0x40, MSN_CAP_MSN_DIRECT = 0x80, MSN_CAP_WEB_CLIENT = 0x100,
  MSN_CAP_DIRECT_IM = 0x4000, MSN_CAP_WINKS = 0x8000, MSN_CAP_SEARCH = 0x10000, MSN_CAP_VOICECLIPS = 0x40000,
  MSN_CAP_MSN60 = 0x10000000, MSN_CAP_MSN61 = 0x20000000, MSN_CAP_MSN62 = 0x30000000, MSN_CAP_MSN70 = 0x40000000
}
enum  MsnContactLists { MSN_LIST_FRIEND = 1, MSN_LIST_ALLOWED = 2, MSN_LIST_BLOCKED = 4, MSN_LIST_REVERSE = 8 }

Signals

void changedFriendlyName ()
void changedGroup (Contact *contact)
void changedList (Contact *contact)
void changedMsnObject (Contact *contact)
void changedPicture ()
void changedStatus ()
void contactOffline (Contact *contact, bool showBaloon)
void contactOnline (Contact *contact, bool showBaloon)

Public Member Functions

void addGroupId (const QString &groupId)
bool checkIfContactAddedUser ()
 Contact (QString handle, QString friendlyName, int lists, QString groupIds)
uint getCapabilities () const
QString getContactDefaultPicturePath () const
QString getContactPicturePath () const
ContactExtensiongetExtension () const
QString getFriendlyName () const
QStringList getGroupIds () const
QString getHandle () const
const MsnObjectgetMsnObject () const
const ChatInformationgetMsnObjectChat () const
QString getStatus () const
QString getTrueFriendlyName () const
bool isAllowed () const
bool isBlocked () const
bool isFriend () const
bool isOffline () const
bool isOnline () const
bool isReverse () const
void loadMsnObject (QString msnObject)
void removeGroupId (const QString &groupId)
void setAllowed (bool allowed)
void setBlocked (bool blocked)
void setCapabilities (uint capabilities)
void setFriend (bool isFriend)
void setFriendlyName (QString newName)
void setList (const QString list, bool isMember)
void setMsnObjectChat (const ChatInformation *msnObjectChat)
void setReverse (bool reverse)
void setStatus (const QString status, bool showBaloon=true)

Protected Attributes

QString friendlyName_
QString handle_

Private Slots

void emitChangedFriendlyName ()
void forwardChangedPicture ()

Private Attributes

bool allowed_
bool blocked_
uint capabilities_
ContactExtensionextension_
bool friend_
QStringList groupIds_
bool initialized_
MsnObjectmsnObject_
const ChatInformationmsnObjectChat_
bool reverse_
QString status_

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index