#include <selectioninterface.h>
|
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 |
|
|
void | setSelectionInterfaceDCOPSuffix (const TQCString &suffix) |
|
|
class | PrivateSelectionInterface |
|
This is an interface to text selection for the Document class.
Definition at line 33 of file selectioninterface.h.
◆ 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 |
◆ selection()
virtual TQString KTextEditor::SelectionInterface::selection |
( |
| ) |
const |
|
pure virtual |
- Returns
- a TQString for the selected text
◆ 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
The documentation for this class was generated from the following files: