Keeps track of channel status.
More...
Inherits IrcBuffer.
|
void | close (const QString &reason=QString()) override |
|
void | join (const QString &key=QString()) |
|
void | part (const QString &reason=QString()) |
|
void | who () |
|
virtual void | close (const QString &reason=QString()) |
|
void | receiveMessage (IrcMessage *message) |
|
◆ IrcChannel()
IrcChannel::IrcChannel |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
Constructs a new channel object with parent.
◆ ~IrcChannel()
IrcChannel::~IrcChannel |
( |
| ) |
|
|
override |
Destructs the channel object.
◆ clone()
IrcBuffer * IrcChannel::clone |
( |
QObject * |
parent = nullptr | ) |
|
|
overridevirtual |
- Since
- 3.7
Clones the buffer with an optional parent.
Reimplemented from IrcBuffer.
◆ close
void IrcChannel::close |
( |
const QString & |
reason = QString() | ) |
|
|
overrideslot |
◆ join
void IrcChannel::join |
( |
const QString & |
key = QString() | ) |
|
|
slot |
- Since
- 3.1
Joins the channel with an optional key.
This method is provided for convenience. It is equal to:
bool channel
Definition: ircbuffer.h:59
Provides the most common commands.
Definition: irccommand.h:45
static Q_INVOKABLE IrcCommand * createJoin(const QString &channel, const QString &key=QString())
Definition: irccommand.cpp:572
- See also
- IrcBuffer::sendCommand(), IrcCommand::createJoin()
◆ key()
QString IrcChannel::key |
( |
| ) |
const |
- Since
- 3.1
This property holds the channel key.
- Access function:
-
- Notifier signal:
- void keyChanged(const QString& key)
◆ mode()
QString IrcChannel::mode |
( |
| ) |
const |
This property holds the complete channel mode including possible arguments.
- Access function:
-
- Notifier signal:
- void modeChanged(const QString& mode)
◆ part
void IrcChannel::part |
( |
const QString & |
reason = QString() | ) |
|
|
slot |
Parts the channel with an optional reason.
This method is provided for convenience. It is equal to:
static Q_INVOKABLE IrcCommand * createPart(const QString &channel, const QString &reason=QString())
Definition: irccommand.cpp:748
- See also
- IrcBuffer::sendCommand(), IrcCommand::createPart()
◆ topic()
QString IrcChannel::topic |
( |
| ) |
const |
This property holds the channel topic.
- Access function:
-
- Notifier signal:
- void topicChanged(const QString& topic)
◆ who
- Since
- 3.3
Sends a who command to the channel.
This method is provided for convenience. It is equal to:
static Q_INVOKABLE IrcCommand * createWho(const QString &mask, bool operators=false)
Definition: irccommand.cpp:875
- See also
- IrcBuffer::sendCommand(), IrcCommand::createWho()