30 #ifndef PLUGINS_AZOTH_INTERFACES_IMUCENTRY_H
31 #define PLUGINS_AZOTH_INTERFACES_IMUCENTRY_H
138 virtual
void Join () = 0;
152 virtual
void Leave (const QString& msg = QString ()) = 0;
158 virtual QString
GetNick () const = 0;
168 virtual
void SetNick (const QString& nick) = 0;
190 virtual QString
GetRealID (QObject *participant) const = 0;
221 virtual
void InviteToMUC (const QString& userId, const QString& msg) = 0;
274 virtual
void beenKicked (const QString& reason) = 0;
285 virtual
void beenBanned (const QString& reason) = 0;
291 "org.Deviant.LeechCraft.Azoth.IMUCEntry/1.0");
virtual void mucSubjectChanged(const QString &newSubj)=0
Notifies about subject change.
virtual QString GetGroupName() const =0
Returns human-readable name of participants' group.
virtual MUCFeatures GetMUCFeatures() const =0
The list of features of this MUC.
virtual void InviteToMUC(const QString &userId, const QString &msg)=0
Invites the user to this MUC.
virtual void SetMUCSubject(const QString &subject)=0
Updates the subject of this MUC.
virtual bool CanChangeSubject() const =0
Returns whether MUC subject can be changed.
virtual void nicknameConflict(const QString &usedNick)=0
Notifies about nick conflict.
Q_DECLARE_OPERATORS_FOR_FLAGS(LeechCraft::Azoth::IMUCEntry::MUCFeatures)
virtual QString GetRealID(QObject *participant) const =0
Returns the real ID of a participant.
virtual QVariantMap GetIdentifyingData() const =0
Returns the data identifying this room.
virtual bool IsAutojoined() const =0
Whether this MUC room was automatically joined.
virtual void beenKicked(const QString &reason)=0
Notifies about participant being kicked.
Q_DECLARE_INTERFACE(LeechCraft::Azoth::IMUCEntry,"org.Deviant.LeechCraft.Azoth.IMUCEntry/1.0")
virtual void Leave(const QString &msg=QString())=0
Requests to leave the room.
virtual void beenBanned(const QString &reason)=0
Notifies about participant being banned.
Represents a single MUC entry in the CL.
virtual QString GetMUCSubject() const =0
Returns subject of this MUC.
virtual void gotNewParticipants(const QList< QObject * > &parts)=0
Notifies about new participants in the room.
virtual void SetNick(const QString &nick)=0
Changes the nick of our participant.
virtual void Join()=0
Requests to join the room.
virtual QList< QObject * > GetParticipants()=0
The list of participants of this MUC.
virtual QString GetNick() const =0
Returns the nick of our participant.