• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • KTextEditor
  • EditDCOPInterface
Public Member Functions | List of all members
KTextEditor::EditDCOPInterface Class Reference

#include <editdcopinterface.h>

Inheritance diagram for KTextEditor::EditDCOPInterface:
DCOPObject

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.

Author
Ian Reinhart Geiser geise.nosp@m.ri@k.nosp@m.de.or.nosp@m.g

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
Parentthe parent EditInterface object that will provide us with the functions for the interface.
namethe TQObject's name

Definition at line 7 of file editdcopinterface.cpp.

◆ ~EditDCOPInterface()

EditDCOPInterface::~EditDCOPInterface ( )
virtual

Destructor Cleans up the object.

Definition at line 13 of file editdcopinterface.cpp.

Member Function Documentation

◆ insertLine

bool EditDCOPInterface::insertLine ( uint  line,
const TQString &  text 
)
virtual

Insert line(s) at the given line number.

Definition at line 53 of file editdcopinterface.cpp.

◆ insertText

bool EditDCOPInterface::insertText ( uint  line,
uint  col,
const TQString &  text 
)
virtual

Inserts text at line "line", column "col" returns true if success.

Definition at line 43 of file editdcopinterface.cpp.

◆ length

int EditDCOPInterface::length ( void  )
virtual
Returns
the number of characters in the document

Definition at line 33 of file editdcopinterface.cpp.

◆ numLines

int EditDCOPInterface::numLines ( )
virtual
Returns
The current number of lines in the document

Definition at line 28 of file editdcopinterface.cpp.

◆ removeLine

bool EditDCOPInterface::removeLine ( uint  line)
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

bool EditDCOPInterface::removeText ( uint  startLine,
uint  startCol,
uint  endLine,
uint  endCol 
)
virtual

remove text at line "line", column "col" returns true if success

Definition at line 48 of file editdcopinterface.cpp.

◆ setText

void EditDCOPInterface::setText ( const TQString &  text)
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

TQString EditDCOPInterface::text ( )
virtual
Returns
the complete document as a single TQString

Definition at line 18 of file editdcopinterface.cpp.

◆ textLine

TQString EditDCOPInterface::textLine ( uint  line)
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:
  • editdcopinterface.h
  • editdcopinterface.cpp

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.