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