![]() |
Qt 4.8
|
#include <textwriter_p.h>
Classes | |
| struct | Move |
| struct | Replace |
Public Functions | |
| void | move (int pos, int length, int to) |
| void | replace (int pos, int length, const QString &replacement) |
| TextWriter () | |
| void | write (QString *s) |
| void | write (QTextCursor *textCursor) |
Private Functions | |
| void | doMove (const Move &move) |
| void | doReplace (const Replace &replace) |
| bool | hasMoveInto (int pos, int length) |
| bool | hasOverlap (int pos, int length) |
| void | write_helper () |
Properties | |
| QTextCursor * | cursor |
| QList< Move > | moveList |
| QList< Replace > | replaceList |
| QString * | string |
Definition at line 56 of file textwriter_p.h.
| TextWriter::TextWriter | ( | ) |
Definition at line 48 of file textwriter.cpp.
|
private |
Definition at line 149 of file textwriter.cpp.
Referenced by write_helper().
|
private |
Definition at line 113 of file textwriter.cpp.
Referenced by doMove(), and write_helper().
|
private |
|
private |
Definition at line 58 of file textwriter.cpp.
Referenced by move(), and replace().
| void TextWriter::move | ( | int | pos, |
| int | length, | ||
| int | to | ||
| ) |
Definition at line 102 of file textwriter.cpp.
| void TextWriter::replace | ( | int | pos, |
| int | length, | ||
| const QString & | replacement | ||
| ) |
Definition at line 90 of file textwriter.cpp.
| void TextWriter::write | ( | QString * | s | ) |
Definition at line 179 of file textwriter.cpp.
Referenced by QDeclarativeRewrite::RewriteBinding::operator()(), and QDeclarativeRewrite::RewriteBinding::rewrite().
| void TextWriter::write | ( | QTextCursor * | textCursor | ) |
Definition at line 186 of file textwriter.cpp.
|
private |
Definition at line 193 of file textwriter.cpp.
Referenced by write().
|
private |
Definition at line 59 of file textwriter_p.h.
Referenced by doMove(), doReplace(), write(), and write_helper().
Definition at line 75 of file textwriter_p.h.
Referenced by doReplace(), hasMoveInto(), hasOverlap(), move(), and write_helper().
Definition at line 67 of file textwriter_p.h.
Referenced by doMove(), doReplace(), hasOverlap(), replace(), and write_helper().
|
private |
Definition at line 58 of file textwriter_p.h.