 |
LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
|
Go to the documentation of this file.
183 virtual void Send () = 0;
193 virtual void Store () = 0;
266 virtual QString
GetBody ()
const = 0;
274 virtual void SetBody (
const QString& body) = 0;
300 virtual void SetDateTime (
const QDateTime& timestamp) = 0;
306 "org.LeechCraft.Azoth.IMessage/1.0")
@ Out
The message is from us to the remote party.
SubType
This enum is used for more precise classification of chat types messages.
virtual QObject * GetQObject()=0
Returns this message as a QObject.
@ EventMessage
Various events in a chat.
@ StatusMessage
Status changes in a chat.
@ In
The message is from the remote party to us.
virtual QObject * OtherPart() const =0
Returns the CL entry from which this message is.
This interface is used to represent a message.
virtual QString GetBody() const =0
Returns the body of the message.
virtual SubType GetMessageSubType() const =0
Returns the subtype of this message.
@ ChatMessage
Standard one-to-one message.
virtual void Store()=0
Stores the message.
@ ParticipantRoleAffiliationChange
Represents permission changes of a participant in a chat or MUC room.
virtual QObject * ParentCLEntry() const
Returns the parent CL entry of this message.
@ ParticipantEndedConversation
The participant has ended the conversation.
Direction
Represents the direction of the message.
virtual QDateTime GetDateTime() const =0
Returns the timestamp of the message.
virtual QString GetOtherVariant() const =0
The variant of the other part.
@ ParticipantStatusChange
Represents status change of a participant in a chat or MUC room.
virtual void SetDateTime(const QDateTime ×tamp)=0
Updates the timestamp of the message.
@ ParticipantLeave
Notifies about participant leaving a MUC room.
virtual void Send()=0
Sends the message.
virtual EscapePolicy GetEscapePolicy() const
Returns the escape policy of the body.
virtual void SetBody(const QString &body)=0
Updates the body of the message.
@ ParticipantJoin
Notifies about participant joining to a MUC room.
@ ParticipantNickChange
Notifies about participant in a MUC changing the nick.
@ RoomSubjectChange
Notifies about changing subject in a MUC room.
virtual Type GetMessageType() const =0
Returns the type of this message.
@ MUCMessage
Message in a multiuser conference.
Type
Represents possible message types.
virtual Direction GetDirection() const =0
Returns the direction of this message.