Communi  3.5.0
A cross-platform IRC framework written with Qt
Minimal example

The example illustrates the minimum amount of code required for:

IrcConnection connection("irc.freenode.net");
connection.setUserName("communi");
connection.setNickName(QString("Minimal%1").arg(qrand() % 9999));
connection.setRealName(QString("Communi %1 minimal example").arg(Irc::version()));
connection.sendCommand(IrcCommand::createJoin("#communi"));
connection.sendCommand(IrcCommand::createMessage("#communi", "Hi, kthxbye!"));
connection.sendCommand(IrcCommand::createQuit());
connection.open();

Files: