_topic(QString()),
network(network)
{
- setObjectName(QString::number(network->networkId()) + "/" + channelname);
+ setObjectName(QString::number(network->networkId().toInt()) + "/" + channelname);
}
IrcChannel::~IrcChannel() {
return isvalid;
}
-bool IrcChannel::initialized() const {
- return _initialized;
-}
-
QString IrcChannel::name() const {
return _name;
}
// if you wonder why there is no counterpart to ircUserParted:
// the joines are propagted by the ircuser. the signal ircUserParted is only for convenience
emit ircUserParted(ircuser);
+ if(network->isMe(ircuser))
+ deleteLater();
}
}
emit ircUserNickSet(ircUser, nick);
}
-void IrcChannel::setInitialized() {
- _initialized = true;
- emit initDone();
-}
-