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

interfaces/tdetexteditor

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

#include <selectiondcopinterface.h>

Inherits DCOPObject.

Public Member Functions

 SelectionDCOPInterface (SelectionInterface *Parent, const char *name)
 
virtual ~SelectionDCOPInterface ()
 

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::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 TQObject's name

Definition at line 7 of file selectiondcopinterface.cpp.

◆ ~SelectionDCOPInterface()

SelectionDCOPInterface::~SelectionDCOPInterface ( )
virtual

Destructor Cleans up the object.

Definition at line 13 of file selectiondcopinterface.cpp.

Member Function Documentation

◆ clearSelection

bool SelectionDCOPInterface::clearSelection ( )

removes the current Selection (not Text)

Definition at line 29 of file selectiondcopinterface.cpp.

◆ hasSelection

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

Definition at line 37 of file selectiondcopinterface.cpp.

◆ removeSelectedText

bool SelectionDCOPInterface::removeSelectedText ( )

removes the selected Text

Definition at line 53 of file selectiondcopinterface.cpp.

◆ selectAll

bool SelectionDCOPInterface::selectAll ( )

select the whole text

Definition at line 61 of file selectiondcopinterface.cpp.

◆ selection

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

Definition at line 45 of file selectiondcopinterface.cpp.

◆ setSelection

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/tdetexteditor

Skip menu "interfaces/tdetexteditor"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

interfaces/tdetexteditor

Skip menu "interfaces/tdetexteditor"
  • 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/tdetexteditor by doxygen 1.9.4
This website is maintained by Timothy Pearson.