34 #include <QtCore/qmetatype.h> 38 class IrcChannelPrivate;
43 Q_PROPERTY(QString key READ key NOTIFY keyChanged)
44 Q_PROPERTY(QString mode READ mode NOTIFY modeChanged)
45 Q_PROPERTY(QString topic READ topic NOTIFY topicChanged)
48 Q_INVOKABLE explicit
IrcChannel(QObject* parent = 0);
53 QString topic() const;
55 virtual
bool isActive() const;
59 void join(const QString& key = QString());
60 void part(const QString& reason = QString());
61 void close(const QString& reason = QString());
64 void keyChanged(const QString& key);
65 void modeChanged(const QString& mode);
66 void topicChanged(const QString& topic);
73 #ifndef QT_NO_DEBUG_STREAM 74 IRC_MODEL_EXPORT QDebug operator<<(QDebug debug,
const IrcChannel* channel);
75 #endif // QT_NO_DEBUG_STREAM 79 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(
IrcChannel*))
80 Q_DECLARE_METATYPE(QList<IRC_PREPEND_NAMESPACE(
IrcChannel*)>)
Keeps track of buffer status.
Definition: ircbuffer.h:49
Keeps track of channel status.
Definition: ircchannel.h:40