30 #ifndef PLUGINS_AZOTH_INTERFACES_IMESSAGE_H
31 #define PLUGINS_AZOTH_INTERFACES_IMESSAGE_H
197 virtual void Send () = 0;
207 virtual void Store () = 0;
280 virtual QString
GetBody ()
const = 0;
288 virtual void SetBody (
const QString& body) = 0;
300 virtual void SetDateTime (
const QDateTime& timestamp) = 0;
306 "org.Deviant.LeechCraft.Azoth.IMessage/1.0");
virtual void SetDateTime(const QDateTime ×tamp)=0
Updates the timestamp of the message.
Q_DECLARE_INTERFACE(LeechCraft::Azoth::IAccount,"org.Deviant.LeechCraft.Azoth.IAccount/1.0")
Notifies about participant joining to a MUC room.
Status changes in a chat.
virtual MessageType GetMessageType() const =0
Returns the type of this message.
virtual Direction GetDirection() const =0
Returns the direction of this message.
Notifies about participant leaving a MUC room.
virtual void SetBody(const QString &body)=0
Updates the body of the message.
The message is from us to the remote party.
Standard one-to-one message.
The participant has ended the conversation.
virtual QDateTime GetDateTime() const =0
Returns the timestamp of the message.
MessageSubType
This enum is used for more precise classification of chat types messages.
Message in a multiuser conference.
Represents permission changes of a participant in a chat or MUC room.
virtual QObject * GetQObject()=0
Returns this message as a QObject.
virtual QString GetOtherVariant() const =0
The variant of the other part.
virtual void Send()=0
Sends the message.
Notifies about changing subject in a MUC room.
virtual QString GetBody() const =0
Returns the body of the message.
Various events in a chat.
The message is from the remote party to us.
Direction
Represents the direction of the message.
virtual void Store()=0
Stores the message.
Represents status change of a participant in a chat or MUC room.
virtual MessageSubType GetMessageSubType() const =0
Returns the subtype of this message.
virtual QObject * OtherPart() const =0
Returns the CL entry from which this message is.
Notifies about participant in a MUC changing the nick.
MessageType
Represents possible message types.
This interface is used to represent a message.
virtual QObject * ParentCLEntry() const
Returns the parent CL entry of this message.