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

interfaces

  • KTextEditor
  • SelectionInterface
Public Member Functions | Protected Member Functions | Friends | List of all members
KTextEditor::SelectionInterface Class Referenceabstract

#include <selectioninterface.h>

Public Member Functions

unsigned int selectionInterfaceNumber () const
 
virtual bool setSelection (unsigned int startLine, unsigned int startCol, unsigned int endLine, unsigned int endCol)=0
 
virtual bool clearSelection ()=0
 
virtual bool hasSelection () const =0
 
virtual TQString selection () const =0
 
virtual bool removeSelectedText ()=0
 
virtual bool selectAll ()=0
 
virtual void selectionChanged ()=0
 

Protected Member Functions

void setSelectionInterfaceDCOPSuffix (const TQCString &suffix)
 

Friends

class PrivateSelectionInterface
 

Detailed Description

This is an interface to text selection for the Document class.

Definition at line 33 of file selectioninterface.h.

Constructor & Destructor Documentation

◆ SelectionInterface()

SelectionInterface::SelectionInterface ( )

Definition at line 26 of file selectioninterface.cpp.

◆ ~SelectionInterface()

SelectionInterface::~SelectionInterface ( )
virtual

Definition at line 34 of file selectioninterface.cpp.

Member Function Documentation

◆ clearSelection()

virtual bool KTextEditor::SelectionInterface::clearSelection ( )
pure virtual

removes the current Selection (not Text)

◆ hasSelection()

virtual bool KTextEditor::SelectionInterface::hasSelection ( ) const
pure virtual
Returns
true if there is a selection

◆ removeSelectedText()

virtual bool KTextEditor::SelectionInterface::removeSelectedText ( )
pure virtual

removes the selected Text

◆ selectAll()

virtual bool KTextEditor::SelectionInterface::selectAll ( )
pure virtual

select the whole text

◆ selection()

virtual TQString KTextEditor::SelectionInterface::selection ( ) const
pure virtual
Returns
a TQString for the selected text

◆ selectionInterfaceNumber()

unsigned int SelectionInterface::selectionInterfaceNumber ( ) const

Definition at line 40 of file selectioninterface.cpp.

◆ setSelection()

virtual bool KTextEditor::SelectionInterface::setSelection ( unsigned int  startLine,
unsigned int  startCol,
unsigned int  endLine,
unsigned int  endCol 
)
pure virtual
Returns
set the selection from line_start,col_start to line_end,col_end

◆ setSelectionInterfaceDCOPSuffix()

void SelectionInterface::setSelectionInterfaceDCOPSuffix ( const TQCString &  suffix)
protected

Definition at line 45 of file selectioninterface.cpp.

Friends And Related Function Documentation

◆ PrivateSelectionInterface

friend class PrivateSelectionInterface
friend

Definition at line 35 of file selectioninterface.h.


The documentation for this class was generated from the following files:
  • selectioninterface.h
  • selectioninterface.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.