<commit_before> /*
    yahooconferencemessagemanager.cpp

    Copyright (c) 2003 by <NAME> <<EMAIL>>

    Kopete    (c) 2002 by the Kopete developers  <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * 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.                                   *
    *                                                                       *
    *************************************************************************
*/

#include <kdebug.h>
 
#include "kopetecontact.h"
#include "kopetemessagemanager.h"
#include "kopetemessagemanagerfactory.h"
#include "yahooprotocol.h"
#include "yahoocontact.h"
#include "yahooconferencemessagemanager.h"
#include "yahooconferencemessagemanager.moc"

YahooConferenceMessageManager::YahooConferenceMessageManager(const KopeteContact *user,
										   KopeteContactPtrList others,
										   const KopeteMessageManager::WidgetType type,
										   const char *name)
					: KopeteMessageManager(user, others, YahooProtocol::protocol(), 0,
										   type, YahooProtocol::protocol(), name )
{

	// let Kopete's factory know about us
	KopeteMessageManagerFactory::factory()->addKopeteMessageManager(this);

	// this slot will forward messages to the protocol
	connect( this, SIGNAL( messageSent( const KopeteMessage&,
		KopeteMessageManager* ) ),
		this, SLOT( slotMessageSent( const KopeteMessage&,
		KopeteMessageManager* ) ) );

	// in order to use auto-deletion, we have to create a chat window
	// first or we will self-destruct ourselves right away
	newChatWindow();
	setCanBeDeleted(true);

}

void YahooConferenceMessageManager::slotMessageSent(const KopeteMessage &message, KopeteMessageManager *)
{
	kdDebug(14130) << "[YahooImMessageManager] slotMessageSent called: " << message.body() << endl;

}

YahooConferenceMessageManager::~YahooConferenceMessageManager()
{
}
<commit_msg>Changed newChatWindow for newChatView in the two files so it would compile. Don't know if it gives the desired behaviour yet though...<commit_after> /*
    yahooconferencemessagemanager.cpp

    Copyright (c) 2003 by <NAME> <<EMAIL>>

    Kopete    (c) 2002 by the Kopete developers  <<EMAIL>>

    *************************************************************************
    *                                                                       *
    * 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.                                   *
    *                                                                       *
    *************************************************************************
*/

#include <kdebug.h>
 
#include "kopetecontact.h"
#include "kopetemessagemanager.h"
#include "kopetemessagemanagerfactory.h"
#include "yahooprotocol.h"
#include "yahoocontact.h"
#include "yahooconferencemessagemanager.h"
#include "yahooconferencemessagemanager.moc"

YahooConferenceMessageManager::YahooConferenceMessageManager(const KopeteContact *user,
										   KopeteContactPtrList others,
										   const KopeteMessageManager::WidgetType type,
										   const char *name)
					: KopeteMessageManager(user, others, YahooProtocol::protocol(), 0,
										   type, YahooProtocol::protocol(), name )
{

	// let Kopete's factory know about us
	KopeteMessageManagerFactory::factory()->addKopeteMessageManager(this);

	// this slot will forward messages to the protocol
	connect( this, SIGNAL( messageSent( const KopeteMessage&,
		KopeteMessageManager* ) ),
		this, SLOT( slotMessageSent( const KopeteMessage&,
		KopeteMessageManager* ) ) );

	// in order to use auto-deletion, we have to create a chat window
	// first or we will self-destruct ourselves right away
	newChatView();
	setCanBeDeleted(true);

}

void YahooConferenceMessageManager::slotMessageSent(const KopeteMessage &message, KopeteMessageManager *)
{
	kdDebug(14130) << "[YahooImMessageManager] slotMessageSent called: " << message.body() << endl;

}

YahooConferenceMessageManager::~YahooConferenceMessageManager()
{
}

{'fraction_non_alphanumeric': 0.146843853820598, 'fraction_numerical': 0.006644518272425249, 'mean_word_length': 3.158379373848987, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2267970', 'n_tokens_mistral': 1352, 'n_tokens_neox': 1190, 'n_words': 327}