interfaces Library API Documentation

selectiondcopinterface.cpp

00001 #include "selectiondcopinterface.h"
00002 #include "selectioninterface.h"
00003 
00004 #include <dcopclient.h>
00005 using namespace KTextEditor;
00006 
00007 SelectionDCOPInterface::SelectionDCOPInterface( SelectionInterface *Parent, const char *name)
00008     : DCOPObject(name)
00009 {
00010     m_parent = Parent;
00011 }
00012 
00013 SelectionDCOPInterface::~SelectionDCOPInterface()
00014 {
00015 
00016 }
00017 
00021      bool SelectionDCOPInterface::setSelection ( uint startLine, uint startCol, uint endLine, uint endCol )
00022      {
00023     return m_parent->setSelection ( startLine, startCol, endLine, endCol );
00024      }
00025 
00029      bool SelectionDCOPInterface::clearSelection ()
00030      {
00031     return m_parent->clearSelection();
00032      }
00033 
00037      bool SelectionDCOPInterface::hasSelection ()
00038      {
00039     return m_parent->hasSelection();
00040     }
00041 
00045      QString SelectionDCOPInterface::selection ()
00046      {
00047     return m_parent->selection();
00048      }
00049 
00053      bool SelectionDCOPInterface::removeSelectedText ()
00054      {
00055     return m_parent->removeSelectedText();
00056      }
00057 
00061      bool SelectionDCOPInterface::selectAll ()
00062      {
00063     return m_parent->selectAll();
00064      }
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:22:15 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001