Turn IrcNetwork to a QObject