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

interfaces

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

#include <selectiondcopinterface.h>

Inheritance diagram for KTextEditor::SelectionDCOPInterface:
DCOPObject

Public Member Functions

 SelectionDCOPInterface (SelectionInterface *Parent, const char *name)
 
virtual ~SelectionDCOPInterface ()
 
- 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 SelectionInterface of KTextEdit.

This will provide a consistant dcop interface to all KDE applications that use it. DCOP interface to SelectionInterface.

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

Definition at line 18 of file selectiondcopinterface.h.

Constructor & Destructor Documentation

SelectionDCOPInterface::SelectionDCOPInterface ( SelectionInterface *  Parent,
const char *  name 
)

Construct a new interface object for the text editor.

Parameters
Parentthe parent SelectionInterface object that will provide us with the functions for the interface.
namethe QObject's name

Definition at line 7 of file selectiondcopinterface.cpp.

SelectionDCOPInterface::~SelectionDCOPInterface ( )
virtual

Destructor Cleans up the object.

Definition at line 13 of file selectiondcopinterface.cpp.

Member Function Documentation

bool SelectionDCOPInterface::clearSelection ( )

removes the current Selection (not Text)

Definition at line 29 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::hasSelection ( )
Returns
true if there is a selection

Definition at line 37 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::removeSelectedText ( )

removes the selected Text

Definition at line 53 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::selectAll ( )

select the whole text

Definition at line 61 of file selectiondcopinterface.cpp.

TQString SelectionDCOPInterface::selection ( )
Returns
a TQString for the selected text

Definition at line 45 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::setSelection ( uint  startLine,
uint  startCol,
uint  endLine,
uint  endCol 
)
Returns
set the selection from line_start,col_start to line_end,col_end

Definition at line 21 of file selectiondcopinterface.cpp.


The documentation for this class was generated from the following files:
  • selectiondcopinterface.h
  • selectiondcopinterface.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
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for interfaces by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |