interfaces Library: editdcopinterface.h Source File (interfaces Library)

| # interfaces Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# editdcopinterface.h

    00001 #ifndef EDIT_DCOP_INTERFACE_H
    00002 #define EDIT_DCOP_INTERFACE_H
    00003
    00004 #include <dcopobject.h>
    00005 #include <dcopref.h>
    00006 #include <qstringlist.h>
    00007 #include <qcstring.h>
    00008 //#include "editdcopinterface.moc"
    00009 namespace KTextEditor
    00010 {
    00011   class EditInterface;
    00018   class KTEXTEDITOR_EXPORT EditDCOPInterface : virtual public DCOPObject
    00019   {
    00020   K_DCOP
    00021
    00022   public:
    00029     EditDCOPInterface( EditInterface *Parent, const char *name );
    00034     virtual ~EditDCOPInterface();
    00035   k_dcop:
    00039     virtual QString text ();
    00040
    00044     virtual QString textLine ( uint line );
    00045
    00049     virtual int numLines ();
    00050
    00054     virtual int length ();
    00055
    00060     virtual void setText (const QString &text );
    00061
    00066     virtual bool insertText ( uint line, uint col, const QString &text );
    00067
    00072     virtual bool removeText ( uint startLine, uint startCol, uint endLine, uint endCol) ;
    00073
    00077     virtual bool insertLine ( uint line, const QString &text );
    00078
    00083     virtual bool removeLine ( uint line );
    00084   private:
    00085     EditInterface *m_parent;
    00086   };
    00087 }
    00088 #endif
    00089
    00090

This file is part of the documentation for interfaces Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:34:56 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003