editdcopinterface.h
#ifndef EDIT_DCOP_INTERFACE_H
#define EDIT_DCOP_INTERFACE_H
#include <dcopobject.h>
#include <dcopref.h>
#include <qstringlist.h>
#include <qcstring.h>
//#include "editdcopinterface.moc"
namespace KTextEditor
{
class EditInterface;
class KTEXTEDITOR_EXPORT EditDCOPInterface : virtual public DCOPObject
{
K_DCOP
public:
EditDCOPInterface( EditInterface *Parent, const char *name );
virtual ~EditDCOPInterface();
k_dcop:
virtual QString text ();
virtual QString textLine ( uint line );
virtual int numLines ();
virtual int length ();
virtual void setText (const QString &text );
virtual bool insertText ( uint line, uint col, const QString &text );
virtual bool removeText ( uint startLine, uint startCol, uint endLine, uint endCol) ;
virtual bool insertLine ( uint line, const QString &text );
virtual bool removeLine ( uint line );
private:
EditInterface *m_parent;
};
}
#endif
KTextEditor::EditDCOPInterface
This is the main interface to the EditInterface of KTextEdit.
Definition: editdcopinterface.h:18
DCOPObject
KTextEditor::EditInterface
This is the main interface for accessing and modifying text of the Document class.
Definition: editinterface.h:33

KDE Home | KDE Accessibility Home | Description of Access Keys