KTextEditor::SelectionDCOPInterface Class Reference

#include <selectiondcopinterface.h>

Inherits DCOPObject.

List of all members.

Public Member Functions

 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. DCOP interface to SelectionInterface.

Author:
Ian Reinhart Geiser <geiseri@kde.org>

Definition at line 18 of file selectiondcopinterface.h.


Constructor & Destructor Documentation

Construct a new interface object for the text editor.

Parameters:
Parentthe parent SelectionInterface object that will provide us with the functions for the interface.
namethe QObject's name

Definition at line 7 of file selectiondcopinterface.cpp.

Destructor Cleans up the object.

Definition at line 13 of file selectiondcopinterface.cpp.


Member Function Documentation

removes the current Selection (not Text)

Definition at line 29 of file selectiondcopinterface.cpp.

Returns:
true if there is a selection

Definition at line 37 of file selectiondcopinterface.cpp.

removes the selected Text

Definition at line 53 of file selectiondcopinterface.cpp.

select the whole text

Definition at line 61 of file selectiondcopinterface.cpp.

Returns:
a QString for the selected text

Definition at line 45 of file selectiondcopinterface.cpp.

bool SelectionDCOPInterface::setSelection ( uint  startLine,
uint  startCol,
uint  endLine,
uint  endCol 
)
Returns:
set the selection from line_start,col_start to line_end,col_end

Definition at line 21 of file selectiondcopinterface.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys