19 #include <QtCore/qobject.h>
20 #include <QtCore/qmetatype.h>
21 #include <QtCore/qstringlist.h>
27 class IrcCommandPrivate;
32 Q_PROPERTY(
QStringList parameters READ parameters WRITE setParameters)
33 Q_PROPERTY(
QByteArray encoding READ encoding WRITE setEncoding)
34 Q_PROPERTY(
Type type READ type WRITE setType)
78 void setType(Type type);
86 virtual QString toString()
const;
124 Q_INVOKABLE
static IrcCommand* createWho(
const QString& mask,
bool operators =
false);
134 #ifndef QT_NO_DEBUG_STREAM
136 IRC_CORE_EXPORT
QDebug operator<<(
QDebug debug,
const IrcCommand* command);
137 #endif // QT_NO_DEBUG_STREAM
141 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcCommand*))
142 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcCommand::Type))
144 #endif // IRCCOMMAND_H
A CTCP reply command is used to send a reply to a request.
Definition: irccommand.h:43
A users command (USERS) is used to query server users.
Definition: irccommand.h:67
Provides the most common commands.
Definition: irccommand.h:29
A kick command (KICK) is used to forcibly remove a user from a channel.
Definition: irccommand.h:49
A part command (PART) causes the client to be removed from the channel.
Definition: irccommand.h:58
A trace command (TRACE) is used to trace the connection path to a target.
Definition: irccommand.h:66
A list command (LIST) is used to list channels and their topics.
Definition: irccommand.h:51
A capability command (CAP) is used to manage connection capabilities.
Definition: irccommand.h:41
A time command (TIME) is used to query local server time.
Definition: irccommand.h:64
A CTCP action command is used to send an action message to channels and users.
Definition: irccommand.h:42
Provides means to establish a connection to an IRC server.
Definition: ircconnection.h:32
The base class of all messages.
Definition: ircmessage.h:32
Type
Definition: irccommand.h:38
An away command (AWAY) is used to set the away status.
Definition: irccommand.h:40
A message command (PRIVMSG) is used to send private messages to channels and users.
Definition: irccommand.h:52
A join command (JOIN) is used to start listening a specific channel.
Definition: irccommand.h:48
A version command (VERSION) is used to query user or server version.
Definition: irccommand.h:68
A who command (WHO) is used to generate a query which returns a list of matching users.
Definition: irccommand.h:69
A names command (NAMES) is used to list all nicknames on a channel.
Definition: irccommand.h:55
A custom command.
Definition: irccommand.h:45
A mode command (MODE) is used to change the mode of users and channels.
Definition: irccommand.h:53
A message of the day command (MOTD) is used to query the message of the day.
Definition: irccommand.h:54
An info command (INFO) is used to query server info.
Definition: irccommand.h:46
A knock command (KNOCK) is used to request channel invitation.
Definition: irccommand.h:50
A topic command (TOPIC) is used to change or view the topic of a channel.
Definition: irccommand.h:65
An admin command (ADMIN) is used to query server admin info.
Definition: irccommand.h:39
A stats command (STATS) is used to query server statistics.
Definition: irccommand.h:63
A notice command (NOTICE) is used to send notice messages to channels and users.
Definition: irccommand.h:57
A whois command (WHOIS) is used to query information about a particular user.
Definition: irccommand.h:70
A quit command (QUIT) is used to end a client connection.
Definition: irccommand.h:61
An invite command (INVITE) is used to invite users to a channel.
Definition: irccommand.h:47
A CTCP request command is used to send a request.
Definition: irccommand.h:44
A nick command (NICK) is used to give user a nickname or change the previous one. ...
Definition: irccommand.h:56
A quote command is used to send a raw message to the server.
Definition: irccommand.h:62