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

interfaces/ktexteditor

  • 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.

Member Function Documentation

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

removes the current Selection (not Text)

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

removes the selected Text

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

select the whole text

virtual TQString KTextEditor::SelectionInterface::selection ( ) const
pure virtual
Returns
a TQString for the selected text
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

The documentation for this class was generated from the following files:
  • selectioninterface.h
  • selectioninterface.cpp

interfaces/ktexteditor

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

interfaces/ktexteditor

Skip menu "interfaces/ktexteditor"
  • 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/ktexteditor by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |