/***************************************************************************
- * Copyright (C) 2005-07 by The Quassel Team *
+ * Copyright (C) 2005-07 by the Quassel IRC Team *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
+ * (at your option) version 3. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
QString nick(nickFromMask(hostmask));
if(!_ircUsers.contains(nick)) {
IrcUser *ircuser = new IrcUser(hostmask, this);
- qDebug() << "new IrcUser()" << ircuser << hostmask;
// mark IrcUser as already initialized to keep the SignalProxy from requesting initData
if(initialized())
ircuser->setInitialized();
QString nick(nickFromMask(mask));
IrcUser *ircuser;
- qDebug() << "NetworkInfo::updateNickFromMask()" << mask;
if(_ircUsers.contains(nick)) {
- qDebug() << " is known User";
ircuser = _ircUsers[nick];
ircuser->updateHostmask(mask);
} else {
- qDebug() << " is new User";
ircuser = newIrcUser(mask);
}
return ircuser;
void NetworkInfo::ircUserDestroyed() {
IrcUser *ircuser = static_cast<IrcUser *>(sender());
Q_ASSERT(ircuser);
- qDebug() << "NetworkInfo::ircUserDestroyed()" << ircuser;
removeIrcUser(ircuser);
}