interfaces
KTextEditor::BlockSelectionInterface Class Reference
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). More...
#include <blockselectioninterface.h>
Public Member Functions | |
BlockSelectionInterface () | |
unsigned int | blockSelectionInterfaceNumber () const |
virtual bool | blockSelectionMode ()=0 |
virtual bool | setBlockSelectionMode (bool on)=0 |
virtual bool | toggleBlockSelectionMode ()=0 |
virtual | ~BlockSelectionInterface () |
Protected Member Functions | |
void | setBlockSelectionInterfaceDCOPSuffix (const QCString &suffix) |
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 | ( | ) |
Definition at line 42 of file blockselectioninterface.cpp.
BlockSelectionInterface::~BlockSelectionInterface | ( | ) | [virtual] |
Definition at line 52 of file blockselectioninterface.cpp.
Member Function Documentation
unsigned int BlockSelectionInterface::blockSelectionInterfaceNumber | ( | ) | const |
Definition at line 58 of file blockselectioninterface.cpp.
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 ;)
void BlockSelectionInterface::setBlockSelectionInterfaceDCOPSuffix | ( | const QCString & | suffix | ) | [protected] |
Definition at line 63 of file blockselectioninterface.cpp.
virtual bool KTextEditor::BlockSelectionInterface::setBlockSelectionMode | ( | bool | on | ) | [pure virtual] |
Set block selection mode to state "on".
virtual bool KTextEditor::BlockSelectionInterface::toggleBlockSelectionMode | ( | ) | [pure virtual] |
toggle block seletion mode
The documentation for this class was generated from the following files: