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

interfaces

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

#include <blockselectioninterface.h>

Public Member Functions

unsigned int blockSelectionInterfaceNumber () const
 
virtual bool blockSelectionMode ()=0
 
virtual bool setBlockSelectionMode (bool on)=0
 
virtual bool toggleBlockSelectionMode ()=0
 

Protected Member Functions

void setBlockSelectionInterfaceDCOPSuffix (const TQCString &suffix)
 

Friends

class PrivateBlockSelectionInterface
 

Detailed Description

An interface for the Document class which allows the selection method to be changed between selecting rectangular blocks of text and normal mode (all text between the start cursor and the current cursor).

Definition at line 34 of file blockselectioninterface.h.

Constructor & Destructor Documentation

◆ BlockSelectionInterface()

BlockSelectionInterface::BlockSelectionInterface ( )

Definition at line 42 of file blockselectioninterface.cpp.

◆ ~BlockSelectionInterface()

BlockSelectionInterface::~BlockSelectionInterface ( )
virtual

Definition at line 52 of file blockselectioninterface.cpp.

Member Function Documentation

◆ blockSelectionInterfaceNumber()

unsigned int BlockSelectionInterface::blockSelectionInterfaceNumber ( ) const

Definition at line 58 of file blockselectioninterface.cpp.

◆ blockSelectionMode()

virtual bool KTextEditor::BlockSelectionInterface::blockSelectionMode ( )
pure virtual

slots !!!

Returns the status of the selection mode - true indicates block selection mode is on. If this is true, selections applied via the SelectionInterface are handled as blockselections and the paste functions of the ClipboardInterface works on rectangular blocks of text rather than normal. (copy too, but thats clear I hope ;)

◆ setBlockSelectionInterfaceDCOPSuffix()

void BlockSelectionInterface::setBlockSelectionInterfaceDCOPSuffix ( const TQCString &  suffix)
protected

Definition at line 63 of file blockselectioninterface.cpp.

◆ setBlockSelectionMode()

virtual bool KTextEditor::BlockSelectionInterface::setBlockSelectionMode ( bool  on)
pure virtual

Set block selection mode to state "on".

◆ toggleBlockSelectionMode()

virtual bool KTextEditor::BlockSelectionInterface::toggleBlockSelectionMode ( )
pure virtual

toggle block seletion mode

Friends And Related Function Documentation

◆ PrivateBlockSelectionInterface

friend class PrivateBlockSelectionInterface
friend

Definition at line 36 of file blockselectioninterface.h.


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