class SelectionDCOPInterface

# class SelectionDCOPInterface | DCOP interface to SelectionInterface. More...
Full name | `KTextEditor::SelectionDCOPInterface`
Definition | `#include <selectiondcopinterface.h>`
Inherits | DCOPObject (dcop) [virtual public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- SelectionDCOPInterface ( SelectionInterface *Parent, const char *name )
- virtual ~SelectionDCOPInterface ()

## Detailed Description

This is the main interface to the SelectionInterface of KTextEdit. This will provide a consistant dcop interface to all KDE applications that use it.

SelectionDCOPInterface ( SelectionInterface *Parent, const char *name ) | ### SelectionDCOPInterface

Construct a new interface object for the text editor.

Parameters:

ParentSelectionInterface | - The parent SelectionInterface object that will provide us with the functions for the interface.

~SelectionDCOPInterface () | ### ~SelectionDCOPInterface

[virtual]

Destructor Cleans up the object.

bool setSelection ( uint startLine, uint startCol, uint endLine, uint endCol ) | ### setSelection

[k_dcop]

Returns: set the selection from line_start,col_start to line_end,col_end

bool clearSelection () | ### clearSelection

[k_dcop]

removes the current Selection (not Text)

bool hasSelection () | ### hasSelection

[k_dcop]

Returns: true if there is a selection

QString selection () | ### selection

[k_dcop]

Returns: a QString for the selected text

bool removeSelectedText () | ### removeSelectedText

[k_dcop]

removes the selected Text

bool selectAll () | ### selectAll

[k_dcop]

select the whole text

- Author: Ian Reinhart Geiser
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:38:11 2003, using kdoc 2.0a54.