Communi 1.0.0
A cross-platform IRC client library written with Qt 4
|
The IrcUtil class provides miscellaneous utility functions. More...
#include <IrcUtil>
Static Public Member Functions | |
static QString | colorCodeToName (int code) |
static QString | messageToHtml (const QString &message) |
The IrcUtil class provides miscellaneous utility functions.
QString IrcUtil::colorCodeToName | ( | int | code | ) | [static] |
Converts a color code to a color name.
Converts message to HTML. This function parses the message and replaces IRC-style formatting like colors, bold and underline to the corresponding HTML formatting. Furthermore, this function detects URLs and replaces them with appropriate HTML hyperlinks.