KTextEditor
KTextEditor::DocumentAdaptor Class Reference
For documentation see Document. More...
#include <documentadaptor_p.h>

Public Slots | |
| bool | clear () |
| bool | cursorInText (const QPoint &cursor) |
| const QString & | encoding () const |
| QPoint | endOfLine (int line) const |
| bool | insertLine (int line, const QString &text) |
| bool | insertLines (int line, const QStringList &text) |
| bool | insertText (const QPoint &cursor, const QString &text, bool block) |
| bool | insertTextLines (const QPoint &cursor, const QStringList &text, bool block) |
| bool | isEmpty () const |
| int | lineLength (int line) const |
| int | lines () const |
| bool | reload () |
| bool | removeLine (int line) |
| bool | save () |
| bool | saveAs () |
| bool | setEncoding (const QString &encoding) |
| bool | setText (const QString &text) |
| bool | setTextLines (const QStringList &text) |
| QString | text () const |
| int | totalCharacters () const |
Public Member Functions | |
| DocumentAdaptor (Document *document) | |
| virtual | ~DocumentAdaptor () |
Properties | |
| bool | empty |
| const QString | encoding |
| int | lines |
| const QString | text |
| int | totalCharacters |
Detailed Description
For documentation see Document.
Definition at line 29 of file documentadaptor_p.h.
Constructor & Destructor Documentation
| DocumentAdaptor::DocumentAdaptor | ( | Document * | document | ) |
Definition at line 30 of file document.cpp.
| DocumentAdaptor::~DocumentAdaptor | ( | ) | [virtual] |
Definition at line 34 of file document.cpp.
Member Function Documentation
| bool DocumentAdaptor::clear | ( | ) | [slot] |
Definition at line 36 of file document.cpp.
Definition at line 101 of file document.cpp.
| const QString& KTextEditor::DocumentAdaptor::encoding | ( | ) | const [slot] |
| QPoint DocumentAdaptor::endOfLine | ( | int | line | ) | const [slot] |
Definition at line 88 of file document.cpp.
Definition at line 105 of file document.cpp.
| bool DocumentAdaptor::insertLines | ( | int | line, |
| const QStringList & | text | ||
| ) | [slot] |
Definition at line 109 of file document.cpp.
Definition at line 93 of file document.cpp.
| bool DocumentAdaptor::insertTextLines | ( | const QPoint & | cursor, |
| const QStringList & | text, | ||
| bool | block | ||
| ) | [slot] |
Definition at line 97 of file document.cpp.
| bool DocumentAdaptor::isEmpty | ( | ) | const [slot] |
Definition at line 56 of file document.cpp.
| int DocumentAdaptor::lineLength | ( | int | line | ) | const [slot] |
Definition at line 84 of file document.cpp.
| int KTextEditor::DocumentAdaptor::lines | ( | ) | const [slot] |
| bool DocumentAdaptor::reload | ( | ) | [slot] |
Definition at line 40 of file document.cpp.
| bool DocumentAdaptor::removeLine | ( | int | line | ) | [slot] |
Definition at line 113 of file document.cpp.
| bool DocumentAdaptor::save | ( | ) | [slot] |
Definition at line 44 of file document.cpp.
| bool DocumentAdaptor::saveAs | ( | ) | [slot] |
Definition at line 48 of file document.cpp.
Definition at line 60 of file document.cpp.
Definition at line 68 of file document.cpp.
| bool DocumentAdaptor::setTextLines | ( | const QStringList & | text | ) | [slot] |
Definition at line 52 of file document.cpp.
| QString KTextEditor::DocumentAdaptor::text | ( | ) | const [slot] |
| int KTextEditor::DocumentAdaptor::totalCharacters | ( | ) | const [slot] |
Property Documentation
bool KTextEditor::DocumentAdaptor::empty [read] |
Definition at line 35 of file documentadaptor_p.h.
const QString & DocumentAdaptor::encoding [read, write] |
Definition at line 32 of file documentadaptor_p.h.
int DocumentAdaptor::lines [read] |
Definition at line 34 of file documentadaptor_p.h.
QString DocumentAdaptor::text [read, write] |
Definition at line 33 of file documentadaptor_p.h.
int DocumentAdaptor::totalCharacters [read] |
Definition at line 36 of file documentadaptor_p.h.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference