33 class ConferencePrivate;
38 Q_DECLARE_PRIVATE(Conference)
39 Q_PROPERTY(QString topic READ topic WRITE setTopic NOTIFY topicChanged)
41 Q_PROPERTY(
bool isJoined READ isJoined NOTIFY joinedChanged)
44 Conference(Account *account);
45 virtual ~Conference();
46 virtual QString topic()
const;
47 virtual void setTopic(
const QString &topic);
48 virtual Buddy *me()
const = 0;
49 bool isJoined()
const;
55 void topicChanged(
const QString ¤t,
const QString &previous);
59 void joinedChanged(
bool isJoined);
61 void setJoined(
bool set);
63 bool event(QEvent *ev);
64 virtual void doJoin() = 0;
65 virtual void doLeave() = 0;
73 #endif // CONFERENCE_H