#include <editdcopinterface.h>
Public Member Functions | |
EditDCOPInterface (EditInterface *Parent, const char *name) | |
virtual | ~EditDCOPInterface () |
Public Member Functions inherited from DCOPObject | |
DCOPObject (TQObject *obj) | |
DCOPObject (const TQCString &objId) | |
TQCString | objId () const |
bool | setObjId (const TQCString &objId) |
virtual bool | process (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData) |
virtual bool | processDynamic (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData) |
virtual QCStringList | functionsDynamic () |
virtual QCStringList | interfacesDynamic () |
virtual QCStringList | interfaces () |
virtual QCStringList | functions () |
void | emitDCOPSignal (const TQCString &signal, const TQByteArray &data) |
bool | connectDCOPSignal (const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot, bool Volatile) |
bool | disconnectDCOPSignal (const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot) |
DCOPClient * | callingDcopClient () |
Additional Inherited Members | |
Static Public Member Functions inherited from DCOPObject | |
static bool | hasObject (const TQCString &objId) |
static DCOPObject * | find (const TQCString &objId) |
static TQPtrList< DCOPObject > | match (const TQCString &partialId) |
static TQCString | objectName (TQObject *obj) |
Detailed Description
This is the main interface to the EditInterface of KTextEdit.
This will provide a consistant dcop interface to all KDE applications that use it.
DCOP interface to EditInterface.
Definition at line 18 of file editdcopinterface.h.
Constructor & Destructor Documentation
◆ EditDCOPInterface()
EditDCOPInterface::EditDCOPInterface | ( | EditInterface * | Parent, |
const char * | name | ||
) |
Construct a new interface object for the text editor.
- Parameters
-
Parent the parent EditInterface object that will provide us with the functions for the interface. name the TQObject's name
Definition at line 7 of file editdcopinterface.cpp.
◆ ~EditDCOPInterface()
|
virtual |
Destructor Cleans up the object.
Definition at line 13 of file editdcopinterface.cpp.
Member Function Documentation
◆ insertLine
|
virtual |
Insert line(s) at the given line number.
Definition at line 53 of file editdcopinterface.cpp.
◆ insertText
|
virtual |
Inserts text at line "line", column "col" returns true if success.
Definition at line 43 of file editdcopinterface.cpp.
◆ length
|
virtual |
- Returns
- the number of characters in the document
Definition at line 33 of file editdcopinterface.cpp.
◆ numLines
|
virtual |
- Returns
- The current number of lines in the document
Definition at line 28 of file editdcopinterface.cpp.
◆ removeLine
|
virtual |
Insert line(s) at the given line number.
If only one line is in the current document, removeLine will fail (return false)
Definition at line 58 of file editdcopinterface.cpp.
◆ removeText
|
virtual |
remove text at line "line", column "col" returns true if success
Definition at line 48 of file editdcopinterface.cpp.
◆ setText
|
virtual |
Set the given text into the view.
Warning: This will overwrite any data currently held in this view.
Definition at line 38 of file editdcopinterface.cpp.
◆ text
|
virtual |
- Returns
- the complete document as a single TQString
Definition at line 18 of file editdcopinterface.cpp.
◆ textLine
|
virtual |
- Returns
- All the text from the requested line.
Definition at line 23 of file editdcopinterface.cpp.
The documentation for this class was generated from the following files: