encodingdcopinterface.cpp
#include "encodingdcopinterface.h"
#include "encodinginterface.h"
#include <dcopclient.h>
using namespace KTextEditor;
EncodingDCOPInterface::EncodingDCOPInterface( EncodingInterface *Parent, const char *name)
: DCOPObject(name)
{
m_parent = Parent;
}
EncodingDCOPInterface::~EncodingDCOPInterface()
{
}
uint EncodingDCOPInterface::encodingInterfaceNumber ()
{
return m_parent->encodingInterfaceNumber ();
}
void EncodingDCOPInterface::setEncoding (QString e)
{
m_parent->setEncoding (e);
}
QString EncodingDCOPInterface::encoding()
{
return m_parent->encoding();
}
KTextEditor::EncodingInterface
This is an interface to the text encoding of a Document class.
Definition: encodinginterface.h:33
KTextEditor::EncodingDCOPInterface::~EncodingDCOPInterface
virtual ~EncodingDCOPInterface()
Destructor Cleans up the object.
Definition: encodingdcopinterface.cpp:13
KTextEditor::EncodingDCOPInterface::EncodingDCOPInterface
EncodingDCOPInterface(EncodingInterface *Parent, const char *name)
Construct a new interface object for the text editor.
Definition: encodingdcopinterface.cpp:7

KDE Home | KDE Accessibility Home | Description of Access Keys