#include <events.h>
Inheritance diagram for ICQ2000::NormalMessageEvent::
Public Methods | |
NormalMessageEvent (Contact *c, const string &msg, bool multi=false) | |
Construct a NormalMessageEvent. More... | |
NormalMessageEvent (Contact *c, const string &msg, time_t t, bool multi) | |
Construct a NormalMessageEvent. More... | |
NormalMessageEvent (Contact *c, const string &msg, unsigned int fg, unsigned int bg) | |
Construct a NormalMessageEvent. More... | |
string | getMessage () const |
get the message. More... | |
MessageType | getType () const |
get the type of the MessageEvent. More... | |
unsigned int | getSenderUIN () const |
get the uin of the sender. More... | |
bool | isOfflineMessage () const |
get if the message was an offline message. More... | |
bool | isMultiParty () const |
get if the message is a multiparty message. More... | |
unsigned int | getForeground () const |
get the foreground colour of the message. More... | |
unsigned int | getBackground () const |
get the background colour of the message. More... | |
void | setForeground (unsigned int f) |
set the foreground colour of the message. More... | |
void | setBackground (unsigned int b) |
set the background colour of the message. More... |
|
Construct a NormalMessageEvent.
|
|
Construct a NormalMessageEvent. This constructor is only used by the library.
|
|
Construct a NormalMessageEvent.
|
|
get the background colour of the message.
|
|
get the foreground colour of the message.
|
|
get the message.
|
|
get the uin of the sender. This is really miss-named, if you were sending the message, this would be the UIN of the recipient.
|
|
get the type of the MessageEvent.
Reimplemented from ICQ2000::MessageEvent. |
|
get if the message is a multiparty message.
|
|
get if the message was an offline message.
|
|
set the background colour of the message.
|
|
set the foreground colour of the message.
|