Main Page Modules Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
KTextEditor::EditDCOPInterface Class Reference
DCOP interface to EditInterface.
More...
#include <editdcopinterface.h>
Inheritance diagram for KTextEditor::EditDCOPInterface:
List of all members.
Detailed Description
DCOP interface to EditInterface.
This is the main interface to the EditInterface of KTextEdit. This will provide a consistant dcop interface to all KDE applications that use it.
- Author:
-
Ian Reinhart Geiser <geiseri@kde.org>
Definition at line 18 of file editdcopinterface.h.
Constructor & Destructor Documentation
| KTextEditor::EditDCOPInterface::EditDCOPInterface |
( |
EditInterface * |
Parent, |
|
|
const char * |
name |
|
) |
|
|
|
|
Construct a new interface object for the text editor. - Parameters:
-
| ParentEditInterface |
- The parent EditInterface object that will provide us with the functions for the interface. |
|
| virtual KTextEditor::EditDCOPInterface::~EditDCOPInterface |
( |
|
) |
[virtual] |
|
|
|
Destructor Cleans up the object. |
Member Function Documentation
| virtual bool KTextEditor::EditDCOPInterface::insertLine |
( |
uint |
line, |
|
|
const QString & |
text |
|
) |
[virtual] |
|
|
|
Insert line(s) at the given line number. |
| virtual bool KTextEditor::EditDCOPInterface::insertText |
( |
uint |
line, |
|
|
uint |
col, |
|
|
const QString & |
text |
|
) |
[virtual] |
|
|
|
Inserts text at line "line", column "col" returns true if success |
| virtual int KTextEditor::EditDCOPInterface::length |
( |
|
) |
[virtual] |
|
|
|
- Returns:
-
the number of characters in the document
|
| virtual int KTextEditor::EditDCOPInterface::numLines |
( |
|
) |
[virtual] |
|
|
|
- Returns:
-
The current number of lines in the document
|
| virtual bool KTextEditor::EditDCOPInterface::removeLine |
( |
uint |
line |
) |
[virtual] |
|
|
|
Insert line(s) at the given line number. If only one line is in the current document, removeLine will fail (return false) |
| virtual bool KTextEditor::EditDCOPInterface::removeText |
( |
uint |
startLine, |
|
|
uint |
startCol, |
|
|
uint |
endLine, |
|
|
uint |
endCol |
|
) |
[virtual] |
|
|
|
remove text at line "line", column "col" returns true if success |
| virtual void KTextEditor::EditDCOPInterface::setText |
( |
const QString & |
text |
) |
[virtual] |
|
|
|
Set the given text into the view. Warning: This will overwrite any data currently held in this view. |
| virtual QString KTextEditor::EditDCOPInterface::text |
( |
|
) |
[virtual] |
|
|
|
- Returns:
-
the complete document as a single QString
|
| virtual QString KTextEditor::EditDCOPInterface::textLine |
( |
uint |
line |
) |
[virtual] |
|
|
|
- Returns:
-
All the text from the requested line.
|
The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:37 2003 for kdelibs by
1.2.18