9 #ifndef PLUGINS_AZOTH_INTERFACES_IMUCENTRY_H 10 #define PLUGINS_AZOTH_INTERFACES_IMUCENTRY_H 13 #include <util/azoth/emitters/mucentry.h> 120 virtual void Join () = 0;
134 virtual void Leave (
const QString& msg = QString ()) = 0;
140 virtual QString
GetNick ()
const = 0;
150 virtual void SetNick (
const QString& nick) = 0;
203 virtual void InviteToMUC (
const QString& userId,
const QString& msg) = 0;
209 Q_DECLARE_OPERATORS_FOR_FLAGS (
LC::Azoth::IMUCEntry::MUCFeatures)
virtual QString GetGroupName() const =0
Returns human-readable name of participants' group.
virtual bool IsAutojoined() const =0
Whether this MUC room was automatically joined.
Emitters::MUCEntry & GetMUCEntryEmitter()
virtual ~IMUCEntry()=default
virtual void SetMUCSubject(const QString &subject)=0
Updates the subject of this MUC.
virtual MUCFeatures GetMUCFeatures() const =0
The list of features of this MUC.
Emitters::MUCEntry MUCEmitter_
virtual void Join()=0
Requests to join the room.
virtual bool CanChangeSubject() const =0
Returns whether MUC subject can be changed.
virtual QString GetMUCSubject() const =0
Returns subject of this MUC.
virtual void InviteToMUC(const QString &userId, const QString &msg)=0
Invites the user to this MUC.
virtual void SetNick(const QString &nick)=0
Changes the nick of our participant.
virtual QString GetNick() const =0
Returns the nick of our participant.
Represents a single MUC entry in the CL.
virtual QList< ICLEntry * > GetParticipants()=0
The list of participants of this MUC.
virtual QString GetRealID(const ICLEntry &participant) const =0
Returns the real ID of a participant.
virtual QVariantMap GetIdentifyingData() const =0
Returns the data identifying this room.
Represents a single entry in contact list.
virtual void Leave(const QString &msg=QString())=0
Requests to leave the room.