.TH "KTextEditor::SelectionInterface" kde3 "11 Jun 2005" "Version Version 3.4.1" "interfaces Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KTextEditor::SelectionInterface \- This is an interface to text selection for the \fBDocument\fP class.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <selectioninterface.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "unsigned int \fBselectionInterfaceNumber\fP () const "
.br
.ti -1c
.RI "virtual bool \fBsetSelection\fP (unsigned int startLine, unsigned int startCol, unsigned int endLine, unsigned int endCol)=0"
.br
.ti -1c
.RI "virtual bool \fBclearSelection\fP ()=0"
.br
.ti -1c
.RI "virtual bool \fBhasSelection\fP () const =0"
.br
.ti -1c
.RI "virtual \fBQString\fP \fBselection\fP () const =0"
.br
.ti -1c
.RI "virtual bool \fBremoveSelectedText\fP ()=0"
.br
.ti -1c
.RI "virtual bool \fBselectAll\fP ()=0"
.br
.ti -1c
.RI "virtual void \fBselectionChanged\fP ()=0"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBsetSelectionInterfaceDCOPSuffix\fP (const \fBQCString\fP &suffix)"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBPrivateSelectionInterface\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
This is an interface to text selection for the \fBDocument\fP class. 
.PP
Definition at line 33 of file selectioninterface.h.
.SH "Member Function Documentation"
.PP 
.SS "virtual bool KTextEditor::SelectionInterface::setSelection (unsigned int startLine, unsigned int startCol, unsigned int endLine, unsigned int endCol)\fC [pure virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
set the selection from line_start,col_start to line_end,col_end 
.RE
.PP

.SS "virtual bool KTextEditor::SelectionInterface::clearSelection ()\fC [pure virtual]\fP"
.PP
removes the current Selection (not Text) 
.PP
.SS "virtual bool KTextEditor::SelectionInterface::hasSelection () const\fC [pure virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
true if there is a selection 
.RE
.PP

.SS "virtual \fBQString\fP KTextEditor::SelectionInterface::selection () const\fC [pure virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
a \fBQString\fP for the selected text 
.RE
.PP

.SS "virtual bool KTextEditor::SelectionInterface::removeSelectedText ()\fC [pure virtual]\fP"
.PP
removes the selected Text 
.PP
.SS "virtual bool KTextEditor::SelectionInterface::selectAll ()\fC [pure virtual]\fP"
.PP
select the whole text 
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for interfaces Library from the source code.
