Represents a topic message.
Inherits IrcMessage.
|
enum | Flag { None = 0x0,
Own = 0x1,
Identified = 0x2,
Unidentified = 0x4
} |
|
enum | Type {
Unknown,
Capability,
Error,
Invite,
Join,
Kick,
Mode,
Motd,
Names,
Nick,
Notice,
Numeric,
Part,
Ping,
Pong,
Private,
Quit,
Topic
} |
|
static Q_INVOKABLE IrcMessage * | fromData (const QByteArray &data, IrcConnection *connection) |
|
static Q_INVOKABLE IrcMessage * | fromParameters (const QString &prefix, const QString &command, const QStringList ¶meters, IrcConnection *connection) |
|
bool IrcTopicMessage::isReply |
( |
| ) |
const |
This property holds whether the message is a reply.
Topic messages are sent in three situations:
- as a notification of a topic change (
false
),
- as a reply when joining a channel (
true
), or
- as a reply when explicitly querying the channel topic (
true
).
- Access function:
-
- See Also
- Irc::RPL_TOPIC, Irc::RPL_NOTOPIC, IrcTopicCommand
This property holds the channel in question.
- Access function:
-
This property holds the new channel topic.
- Access function:
-