Communi 1.0.0
A cross-platform IRC client library written with Qt 4
Static Public Member Functions
IrcUtil Class Reference

The IrcUtil class provides miscellaneous utility functions. More...

#include <IrcUtil>

List of all members.

Static Public Member Functions

static QString colorCodeToName (int code)
static QString messageToHtml (const QString &message)

Detailed Description

The IrcUtil class provides miscellaneous utility functions.


Member Function Documentation

QString IrcUtil::colorCodeToName ( int  code) [static]

Converts a color code to a color name.

QString IrcUtil::messageToHtml ( const QString message) [static]

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Defines