|
|
|
@ -115,13 +115,13 @@ void ConnectionHandler::addChatInfoForConnection( Connection* c, Oscar::WORD exc
|
|
|
|
|
if ( d->connections.findIndex( c ) == -1 )
|
|
|
|
|
d->connections.append( c );
|
|
|
|
|
|
|
|
|
|
ConnectionRoomInfo info = tqMakePair( exchange, room );
|
|
|
|
|
ConnectionRoomInfo info = qMakePair( exchange, room );
|
|
|
|
|
d->chatRoomConnections[c] = info;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Connection* ConnectionHandler::connectionForChatRoom( Oscar::WORD exchange, const TQString& room )
|
|
|
|
|
{
|
|
|
|
|
ConnectionRoomInfo infoToFind = tqMakePair( exchange, room );
|
|
|
|
|
ConnectionRoomInfo infoToFind = qMakePair( exchange, room );
|
|
|
|
|
TQMap<Connection*, ConnectionRoomInfo>::iterator it, itEnd = d->chatRoomConnections.end();
|
|
|
|
|
for ( it = d->chatRoomConnections.begin(); it != itEnd; ++it )
|
|
|
|
|
{
|
|
|
|
|