interfaces Library API Documentation

editdcopinterface.cpp

00001 #include "editdcopinterface.h" 00002 #include "editinterface.h" 00003 00004 #include <dcopclient.h> 00005 using namespace KTextEditor; 00006 00007 EditDCOPInterface::EditDCOPInterface( EditInterface *Parent, const char *name) 00008 : DCOPObject(name) 00009 { 00010 m_parent = Parent; 00011 } 00012 00013 EditDCOPInterface::~EditDCOPInterface() 00014 { 00015 00016 } 00017 00018 QString EditDCOPInterface::text () 00019 { 00020 return m_parent->text(); 00021 } 00022 00023 QString EditDCOPInterface::textLine ( uint line ) 00024 { 00025 return m_parent->textLine(line); 00026 } 00027 00028 int EditDCOPInterface::numLines () 00029 { 00030 return m_parent->numLines(); 00031 } 00032 00033 int EditDCOPInterface::length () 00034 { 00035 return m_parent->length(); 00036 } 00037 00038 void EditDCOPInterface::setText ( const QString &text ) 00039 { 00040 m_parent->setText(text); 00041 } 00042 00043 bool EditDCOPInterface::insertText ( uint line, uint col, const QString &text ) 00044 { 00045 return m_parent->insertText( line, col, text); 00046 } 00047 00048 bool EditDCOPInterface::removeText ( uint startLine, uint startCol, uint endLine, uint endCol ) 00049 { 00050 return m_parent->removeText( startLine, startCol, endLine, endCol); 00051 } 00052 00053 bool EditDCOPInterface::insertLine ( uint line, const QString &text ) 00054 { 00055 return m_parent->insertLine( line, text); 00056 } 00057 00058 bool EditDCOPInterface::removeLine ( uint line ) 00059 { 00060 return m_parent->removeLine( line ); 00061 }
KDE Logo
This file is part of the documentation for interfaces Library Version 3.4.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 14 00:43:59 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003