Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

SendTextIMPacket Class Reference

#include <evaimsend.h>

Inherits SendIM.

Inheritance diagram for SendTextIMPacket:

Inheritance graph
[legend]
Collaboration diagram for SendTextIMPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SendTextIMPacket ()
 SendTextIMPacket (const SendTextIMPacket &rhs)
virtual ~SendTextIMPacket ()
OutPacketcopy ()
SendTextIMPacketoperator= (const SendTextIMPacket &rhs)
const std::string & getFontName () const
void setFontName (std::string &fontName)
const char getFontSize () const
void setFontSize (char fontSize)
const short getEncoding () const
void setEncoding (short encoding)
const bool isUnderline () const
void setUnderline (bool underline)
const bool isItalic () const
void setItalic (bool italic)
const bool isBold () const
void setBold (bool bold)
const char getBlue () const
void setBlue (char blue)
const char getGreen () const
void setGreen (char green)
const char getRed () const
void setRed (char red)
const std::string & getMessage () const
void setMessage (std::string message)
const char getReplyType () const
void setReplyType (char replyType)
void setAutoReply (const bool isNormal)

Protected Member Functions

virtual int putContents (unsigned char *buf)

Private Attributes

short encoding
std::string fontName
char red
char green
char blue
bool bold
bool italic
bool underline
unsigned char fontSize
unsigned char fontFlag
std::string message
char replyType

Detailed Description

Definition at line 64 of file evaimsend.h.


Constructor & Destructor Documentation

SendTextIMPacket::SendTextIMPacket  ) 
 

Definition at line 116 of file evaimsend.cpp.

References fontName.

Referenced by copy().

SendTextIMPacket::SendTextIMPacket const SendTextIMPacket rhs  ) 
 

Definition at line 136 of file evaimsend.cpp.

References blue, bold, encoding, fontFlag, fontName, fontSize, getBlue(), getEncoding(), getFontName(), getFontSize(), getGreen(), getMessage(), getRed(), getReplyType(), green, isBold(), isItalic(), isUnderline(), italic, message, red, replyType, and underline.

Here is the call graph for this function:

virtual SendTextIMPacket::~SendTextIMPacket  )  [inline, virtual]
 

Definition at line 69 of file evaimsend.h.


Member Function Documentation

OutPacket* SendTextIMPacket::copy  )  [inline]
 

Definition at line 72 of file evaimsend.h.

References SendTextIMPacket().

Here is the call graph for this function:

const char SendTextIMPacket::getBlue  )  const [inline]
 

Definition at line 89 of file evaimsend.h.

References blue.

Referenced by operator=(), and SendTextIMPacket().

const short SendTextIMPacket::getEncoding  )  const [inline]
 

Definition at line 79 of file evaimsend.h.

References encoding.

Referenced by operator=(), and SendTextIMPacket().

const std::string& SendTextIMPacket::getFontName  )  const [inline]
 

Definition at line 75 of file evaimsend.h.

References fontName.

Referenced by operator=(), and SendTextIMPacket().

const char SendTextIMPacket::getFontSize  )  const [inline]
 

Definition at line 77 of file evaimsend.h.

References fontSize.

Referenced by operator=(), and SendTextIMPacket().

const char SendTextIMPacket::getGreen  )  const [inline]
 

Definition at line 91 of file evaimsend.h.

References green.

Referenced by operator=(), and SendTextIMPacket().

const std::string& SendTextIMPacket::getMessage  )  const [inline]
 

Definition at line 100 of file evaimsend.h.

References message.

Referenced by operator=(), and SendTextIMPacket().

const char SendTextIMPacket::getRed  )  const [inline]
 

Definition at line 93 of file evaimsend.h.

References red.

Referenced by operator=(), and SendTextIMPacket().

const char SendTextIMPacket::getReplyType  )  const [inline]
 

Definition at line 102 of file evaimsend.h.

References replyType.

Referenced by operator=(), and SendTextIMPacket().

const bool SendTextIMPacket::isBold  )  const [inline]
 

Definition at line 86 of file evaimsend.h.

References bold.

Referenced by operator=(), and SendTextIMPacket().

const bool SendTextIMPacket::isItalic  )  const [inline]
 

Definition at line 84 of file evaimsend.h.

References italic.

Referenced by operator=(), and SendTextIMPacket().

const bool SendTextIMPacket::isUnderline  )  const [inline]
 

Definition at line 82 of file evaimsend.h.

References underline.

Referenced by operator=(), and SendTextIMPacket().

SendTextIMPacket & SendTextIMPacket::operator= const SendTextIMPacket rhs  ) 
 

Definition at line 163 of file evaimsend.cpp.

References blue, bold, encoding, fontFlag, fontName, fontSize, getBlue(), getEncoding(), getFontName(), getFontSize(), getGreen(), getMessage(), getRed(), getReplyType(), green, isBold(), isItalic(), isUnderline(), italic, message, red, replyType, and underline.

Here is the call graph for this function:

int SendTextIMPacket::putContents unsigned char *  buf  )  [protected, virtual]
 

Reimplemented from SendIM.

Definition at line 228 of file evaimsend.cpp.

References blue, EvaUtil::convertToSend(), encoding, fontFlag, fontName, green, message, QQ_IM_IMAGE_REPLY, red, and replyType.

Here is the call graph for this function:

void SendTextIMPacket::setAutoReply const bool  isNormal  ) 
 

Definition at line 220 of file evaimsend.cpp.

References QQ_IM_AUTO_REPLY, QQ_IM_NORMAL_REPLY, and replyType.

void SendTextIMPacket::setBlue char  blue  )  [inline]
 

Definition at line 90 of file evaimsend.h.

void SendTextIMPacket::setBold bool  bold  ) 
 

Definition at line 191 of file evaimsend.cpp.

References fontFlag.

void SendTextIMPacket::setEncoding short  encoding  )  [inline]
 

Definition at line 80 of file evaimsend.h.

void SendTextIMPacket::setFontName std::string &  fontName  )  [inline]
 

Definition at line 76 of file evaimsend.h.

void SendTextIMPacket::setFontSize char  fontSize  ) 
 

Definition at line 212 of file evaimsend.cpp.

References fontFlag.

void SendTextIMPacket::setGreen char  green  )  [inline]
 

Definition at line 92 of file evaimsend.h.

void SendTextIMPacket::setItalic bool  italic  ) 
 

Definition at line 198 of file evaimsend.cpp.

References fontFlag.

void SendTextIMPacket::setMessage std::string  message  )  [inline]
 

Definition at line 101 of file evaimsend.h.

void SendTextIMPacket::setRed char  red  )  [inline]
 

Definition at line 94 of file evaimsend.h.

void SendTextIMPacket::setReplyType char  replyType  )  [inline]
 

Definition at line 103 of file evaimsend.h.

void SendTextIMPacket::setUnderline bool  underline  ) 
 

Definition at line 205 of file evaimsend.cpp.

References fontFlag.


Member Data Documentation

char SendTextIMPacket::blue [private]
 

Definition at line 113 of file evaimsend.h.

Referenced by getBlue(), operator=(), putContents(), and SendTextIMPacket().

bool SendTextIMPacket::bold [private]
 

Definition at line 114 of file evaimsend.h.

Referenced by isBold(), operator=(), and SendTextIMPacket().

short SendTextIMPacket::encoding [private]
 

Definition at line 111 of file evaimsend.h.

Referenced by getEncoding(), operator=(), putContents(), and SendTextIMPacket().

unsigned char SendTextIMPacket::fontFlag [private]
 

Definition at line 116 of file evaimsend.h.

Referenced by operator=(), putContents(), SendTextIMPacket(), setBold(), setFontSize(), setItalic(), and setUnderline().

std::string SendTextIMPacket::fontName [private]
 

Definition at line 112 of file evaimsend.h.

Referenced by getFontName(), operator=(), putContents(), and SendTextIMPacket().

unsigned char SendTextIMPacket::fontSize [private]
 

Definition at line 115 of file evaimsend.h.

Referenced by getFontSize(), operator=(), and SendTextIMPacket().

char SendTextIMPacket::green [private]
 

Definition at line 113 of file evaimsend.h.

Referenced by getGreen(), operator=(), putContents(), and SendTextIMPacket().

bool SendTextIMPacket::italic [private]
 

Definition at line 114 of file evaimsend.h.

Referenced by isItalic(), operator=(), and SendTextIMPacket().

std::string SendTextIMPacket::message [private]
 

Definition at line 118 of file evaimsend.h.

Referenced by getMessage(), operator=(), putContents(), and SendTextIMPacket().

char SendTextIMPacket::red [private]
 

Definition at line 113 of file evaimsend.h.

Referenced by getRed(), operator=(), putContents(), and SendTextIMPacket().

char SendTextIMPacket::replyType [private]
 

Definition at line 119 of file evaimsend.h.

Referenced by getReplyType(), operator=(), putContents(), SendTextIMPacket(), and setAutoReply().

bool SendTextIMPacket::underline [private]
 

Definition at line 114 of file evaimsend.h.

Referenced by isUnderline(), operator=(), and SendTextIMPacket().


The documentation for this class was generated from the following files:
Generated on Mon May 15 20:53:10 2006 for libeva by  doxygen 1.4.4