<commit_before>/*
    kopeteprotocol.cpp - Kopete Protocol

	Copyright (c) 2002 by <NAME> <<EMAIL>>
	Copyright (c) 2002 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 "kopeteprotocol.h"
#include "kopetemetacontact.h"
#include "kopetecontact.h"

KopeteProtocol::KopeteProtocol(QObject *parent, const char *name)
    : Plugin( parent, name )
{
	m_canStream = false;
}

KopeteContact* KopeteProtocol::createContact( KopeteMetaContact *parent, const QString &Id, const QString &serializedData )
{
	KopeteContact *kc;
	kc = new KopeteContact( parent );
	kc->setId( Id );
	return kc;
}

KopeteProtocol::~KopeteProtocol()
{
}

QString KopeteProtocol::icon() const
{
	return m_icon;
}

void KopeteProtocol::setIcon( const QString &icon )
{
	m_icon = icon;
}

// vim: set noet ts=4 sts=4 sw=4:
<commit_msg>More progress with API change<commit_after>/*
    kopeteprotocol.cpp - Kopete Protocol

	Copyright (c) 2002 by <NAME> <<EMAIL>>
	Copyright (c) 2002 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 "kopeteprotocol.h"
#include "kopetemetacontact.h"
#include "kopetecontact.h"
#include "kopete.h"

KopeteProtocol::KopeteProtocol(QObject *parent, const char *name)
    : Plugin( parent, name )
{
	m_canStream = false;
}

KopeteContact* KopeteProtocol::createContact( KopeteMetaContact *parent, const QString &Id, const QString &serializedData )
{
	KopeteContact *kc;
	kc = new KopeteContact( kapp );
	kc->setId( Id );
	return kc;
}

KopeteProtocol::~KopeteProtocol()
{
}

QString KopeteProtocol::icon() const
{
	return m_icon;
}

void KopeteProtocol::setIcon( const QString &icon )
{
	m_icon = icon;
}

// vim: set noet ts=4 sts=4 sw=4:

{'fraction_non_alphanumeric': 0.18712273641851107, 'fraction_numerical': 0.010731052984574111, 'mean_word_length': 2.5094117647058822, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '6512107', 'n_tokens_mistral': 888, 'n_tokens_neox': 839, 'n_words': 246}