#include <selectioninterface.h>
This is an interface to text selection for the Document class.
Definition at line 33 of file selectioninterface.h.
◆ SelectionInterface()
| SelectionInterface::SelectionInterface |
( |
| ) |
|
◆ ~SelectionInterface()
| SelectionInterface::~SelectionInterface |
( |
| ) |
|
|
virtual |
◆ 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
◆ selectionInterfaceNumber()
| unsigned int SelectionInterface::selectionInterfaceNumber |
( |
| ) |
const |
◆ 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 |
◆ PrivateSelectionInterface
| friend class PrivateSelectionInterface |
|
friend |
The documentation for this class was generated from the following files: