Turn IrcTextFormat to a QObject for QML compatibility
QtQuick example: use IrcTextFormat