You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesdk/kompare/interfaces/kompareinterface.cpp

61 lines
1.2 KiB

// Blah blah standard LGPL license
// Copyright 2002-2004, Otto Bruggeman <otto.bruggeman@home.nl>
#include "kompareinterface.h"
class KompareInterfacePrivate
{
public:
KompareInterfacePrivate();
~KompareInterfacePrivate();
KompareInterfacePrivate( const KompareInterfacePrivate& );
KompareInterfacePrivate& operator=( const KompareInterfacePrivate& );
protected:
// Add all variables for the KompareInterface class here and access them through the kip pointer
};
KompareInterfacePrivate::KompareInterfacePrivate()
{
}
KompareInterfacePrivate::~KompareInterfacePrivate()
{
}
KompareInterfacePrivate::KompareInterfacePrivate( const KompareInterfacePrivate& /*kip*/ )
{
}
KompareInterfacePrivate& KompareInterfacePrivate::operator=(const KompareInterfacePrivate& /*kip*/ )
{
return *this;
}
KompareInterface::KompareInterface()
{
kip = new KompareInterfacePrivate();
}
KompareInterface::~KompareInterface()
{
delete kip;
}
KompareInterface::KompareInterface( const KompareInterface& ki )
{
kip = new KompareInterfacePrivate( *(ki.kip) );
}
KompareInterface& KompareInterface::operator=( const KompareInterface& ki )
{
kip = ki.kip;
return *this;
}
void KompareInterface::setEncoding( const QString& encoding )
{
m_encoding = encoding;
}