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

Message Class Reference

#include <message.h>

List of all members.

Detailed Description

Anistratov Oleg <ower@users.sourceforge.net>

Definition at line 27 of file message.h.

Public Member Functions

const QColor & color () const
const QString & compName () const
bool isHtml () const
 Message (QC_DatagramHeader *Hdr=0)
const QString & msg () const
quint64 receiveTime () const
bool requested () const
quint64 sendTime () const
void setColor (const QColor &color)
void setCompName (const QString &name)
void setIsHtml (bool value)
void setMsg (const QC_DatagramHeader *Hdr)
void setMsg (const QString &msg)
void setReceiveTime (quint64 tm)
void setRequested (bool rq)
void setSendTime (quint64 tm)
void setSrcIp (quint64 ip)
void setType (quint16 type)
void setUserName (const QString &name)
void setVersion (quint16 ver)
quint64 srcIp () const
quint16 type () const
const QString & userName () const
quint16 version () const

Private Attributes

QColor m_color
QString m_compName
bool m_isHtml
QString m_msg
quint64 m_receiveTime
bool m_requested
quint64 m_sendTime
quint64 m_srcIp
quint16 m_type
 type of msg : MESSAGE, INFO, ERROR, etc
QString m_userName
quint16 m_version
 version of QChat which sent this msg

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

Generated by  Doxygen 1.6.0   Back to index