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