interfaces
encodingdcopinterface.cpp
Go to the documentation of this file.00001 #include "encodingdcopinterface.h" 00002 #include "encodinginterface.h" 00003 00004 #include <dcopclient.h> 00005 using namespace KTextEditor; 00006 00007 EncodingDCOPInterface::EncodingDCOPInterface( EncodingInterface *Parent, const char *name) 00008 : DCOPObject(name) 00009 { 00010 m_parent = Parent; 00011 } 00012 00013 EncodingDCOPInterface::~EncodingDCOPInterface() 00014 { 00015 00016 } 00017 uint EncodingDCOPInterface::encodingInterfaceNumber () 00018 { 00019 return m_parent->encodingInterfaceNumber (); 00020 } 00021 void EncodingDCOPInterface::setEncoding (QString e) 00022 { 00023 m_parent->setEncoding (e); 00024 } 00025 QString EncodingDCOPInterface::encoding() 00026 { 00027 return m_parent->encoding(); 00028 }