#include </home/clem/local/src/opie/noncore/apps/opie-write/qrichtext_p.h>
Collaboration diagram for Qt3::QTextCursor:

Public Member Functions | |
| QTextCursor (QTextDocument *d=0) | |
| QTextCursor (const QTextCursor &c) | |
| QTextCursor & | operator= (const QTextCursor &c) |
| virtual | ~QTextCursor () |
| bool | operator== (const QTextCursor &c) const |
| bool | operator!= (const QTextCursor &c) const |
| QTextParagraph * | paragraph () const |
| void | setParagraph (QTextParagraph *p) |
| QTextDocument * | document () const |
| int | index () const |
| void | setIndex (int index) |
| void | gotoPosition (QTextParagraph *p, int index=0) |
| void | gotoLeft () |
| void | gotoRight () |
| void | gotoNextLetter () |
| void | gotoPreviousLetter () |
| void | gotoUp () |
| void | gotoDown () |
| void | gotoLineEnd () |
| void | gotoLineStart () |
| void | gotoHome () |
| void | gotoEnd () |
| void | gotoPageUp (int visibleHeight) |
| void | gotoPageDown (int visibleHeight) |
| void | gotoNextWord () |
| void | gotoPreviousWord () |
| void | gotoWordLeft () |
| void | gotoWordRight () |
| void | insert (const QString &s, bool checkNewLine, QMemArray< QTextStringChar > *formatting=0) |
| void | splitAndInsertEmptyParagraph (bool ind=TRUE, bool updateIds=TRUE) |
| bool | remove () |
| void | indent () |
| bool | atParagStart () |
| bool | atParagEnd () |
| int | x () const |
| int | y () const |
| int | globalX () const |
| int | globalY () const |
| QTextParagraph * | topParagraph () const |
| int | offsetX () const |
| int | offsetY () const |
| int | totalOffsetX () const |
| int | totalOffsetY () const |
| bool | place (const QPoint &pos, QTextParagraph *s) |
| bool | place (const QPoint &pos, QTextParagraph *s, bool link) |
| void | restoreState () |
| int | nestedDepth () const |
| void | oneUp () |
| void | setValid (bool b) |
| bool | isValid () const |
Private Types | |
| enum | Operation { EnterBegin, EnterEnd, Next, Prev, Up, Down } |
Private Member Functions | |
| void | push () |
| void | pop () |
| void | processNesting (Operation op) |
| void | invalidateNested () |
| void | gotoIntoNested (const QPoint &globalPos) |
Private Attributes | |
| QTextParagraph * | para |
| int | idx |
| int | tmpIndex |
| int | ox |
| int | oy |
| QValueStack< int > | indices |
| QValueStack< QTextParagraph * > | paras |
| QValueStack< int > | xOffsets |
| QValueStack< int > | yOffsets |
| uint | valid: 1 |
|
|
Definition at line 306 of file qrichtext_p.h. |
|
|
Definition at line 399 of file qrichtext.cpp. References Qt3::QTextDocument::firstParagraph(), and para. |
|
|
Definition at line 406 of file qrichtext.cpp. References idx, indices, ox, oy, para, paras, tmpIndex, valid, xOffsets, and yOffsets. |
|
|
Definition at line 246 of file qrichtext_p.h. |
|
|
Definition at line 1046 of file qrichtext.cpp. References idx, Qt3::QTextParagraph::length(), and para. Referenced by Qt3::QTextEdit::contentsMouseDoubleClickEvent(), Qt3::QTextEdit::doKeyboardAction(), Qt3::QTextEdit::keyPressEvent(), remove(), Qt3::QTextEdit::scrollToAnchor(), Qt3::QTextDocument::setSelectionEnd(), and splitAndInsertEmptyParagraph(). |
|
|
Definition at line 1041 of file qrichtext.cpp. References idx. Referenced by Qt3::QTextEdit::doKeyboardAction(), Qt3::QTextEdit::keyPressEvent(), and splitAndInsertEmptyParagraph(). |
|
|
Definition at line 128 of file qrichtext_p.cpp. References Qt3::QTextParagraph::document(), and para. Referenced by gotoEnd(), gotoHome(), gotoIntoNested(), and place(). |
|
|
Definition at line 125 of file qrichtext_p.cpp. References para, Qt3::QTextParagraph::rect(), totalOffsetX(), and x(). |
|
|
Definition at line 126 of file qrichtext_p.cpp. References para, Qt3::QTextParagraph::rect(), totalOffsetY(), and y(). Referenced by gotoPageDown(), and gotoPageUp(). |
|
|
Definition at line 844 of file qrichtext.cpp. References Down, end, idx, Qt3::QTextParagraph::isVisible(), Qt3::QTextParagraph::length(), Qt3::QTextParagraph::lines(), Qt3::QTextParagraph::lineStartOfChar(), Qt3::QTextParagraph::lineStartOfLine(), nestedDepth(), Qt3::QTextParagraph::next(), para, pop(), processNesting(), s, and tmpIndex. Referenced by gotoPageDown(), and Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 939 of file qrichtext.cpp. References document(), gotoLineEnd(), gotoPosition(), isValid(), and topParagraph(). Referenced by Qt3::QTextEdit::append(), Qt3::QTextEdit::find(), and Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 931 of file qrichtext.cpp. References document(), gotoLineStart(), gotoPosition(), and topParagraph(). Referenced by Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 457 of file qrichtext.cpp. References Qt3::QTextParagraph::at(), document(), idx, Qt3::QTextParagraph::lineHeightOfChar(), offsetX(), offsetY(), ox, oy, p, para, push(), Q_ASSERT, Qt3::QTextParagraph::rect(), and y(). Referenced by place(). |
|
|
Definition at line 568 of file qrichtext.cpp. References gotoNextLetter(), gotoPreviousLetter(), para, and Qt3::QTextParagraph::string(). Referenced by Qt3::QTextFormatCommand::execute(), and Qt3::QTextFormatCommand::unexecute(). |
|
|
Definition at line 901 of file qrichtext.cpp. References idx, Qt3::QTextParagraph::length(), Qt3::QTextParagraph::lines(), Qt3::QTextParagraph::lineStartOfChar(), Qt3::QTextParagraph::lineStartOfLine(), para, and tmpIndex. Referenced by gotoEnd(), gotoNextWord(), and Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 919 of file qrichtext.cpp. References idx, Qt3::QTextParagraph::lineStartOfChar(), para, and tmpIndex. Referenced by gotoHome(), and Qt3::QTextEdit::moveCursor(). |
|
|
|
Definition at line 1007 of file qrichtext.cpp. References Qt3::QTextString::at(), FALSE, gotoLineEnd(), idx, Qt3::QTextParagraph::isVisible(), Qt3::QTextParagraph::next(), p, para, s, Qt3::QTextParagraph::string(), tmpIndex, and TRUE. Referenced by Qt3::QTextEdit::contentsMouseDoubleClickEvent(), gotoWordLeft(), gotoWordRight(), Qt3::QTextEdit::handleMouseMove(), and Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 958 of file qrichtext.cpp. References globalY(), gotoDown(), idx, index(), and para. Referenced by Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 948 of file qrichtext.cpp. References globalY(), gotoUp(), idx, index(), and para. Referenced by Qt3::QTextEdit::moveCursor(). |
|
||||||||||||
|
Definition at line 133 of file qrichtext_p.cpp. References Qt3::QTextParagraph::document(), idx, indices, QValueList< T >::isEmpty(), Qt3::QTextParagraph::length(), oendl, owarn, para, pop(), Q_ASSERT, and tmpIndex. Referenced by Qt3::QTextEdit::find(), gotoEnd(), and gotoHome(). |
|
|
|
Definition at line 984 of file qrichtext.cpp. References Qt3::QTextString::at(), FALSE, gotoPreviousLetter(), i, idx, Qt3::QTextString::length(), para, s, Qt3::QTextParagraph::string(), tmpIndex, and TRUE. Referenced by Qt3::QTextEdit::contentsMouseDoubleClickEvent(), gotoWordLeft(), gotoWordRight(), Qt3::QTextEdit::handleMouseMove(), and Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 755 of file qrichtext.cpp. References gotoNextLetter(), gotoPreviousLetter(), para, and Qt3::QTextParagraph::string(). |
|
|
Definition at line 795 of file qrichtext.cpp. References idx, Qt3::QTextParagraph::isVisible(), Qt3::QTextParagraph::length(), Qt3::QTextParagraph::lines(), Qt3::QTextParagraph::lineStartOfChar(), Qt3::QTextParagraph::lineStartOfLine(), nestedDepth(), p, para, pop(), Qt3::QTextParagraph::prev(), processNesting(), tmpIndex, and Up. Referenced by gotoPageUp(), and Qt3::QTextEdit::moveCursor(). |
|
|
Definition at line 976 of file qrichtext.cpp. References gotoNextWord(), gotoPreviousWord(), para, and Qt3::QTextParagraph::string(). |
|
|
Definition at line 968 of file qrichtext.cpp. References gotoNextWord(), gotoPreviousWord(), para, and Qt3::QTextParagraph::string(). |
|
|
Definition at line 1148 of file qrichtext.cpp. References idx, Qt3::QTextParagraph::indent(), and para. Referenced by Qt3::QTextEdit::indent(), Qt3::QTextEdit::insert(), and splitAndInsertEmptyParagraph(). |
|
|
||||||||||||||||
|
|
Definition at line 474 of file qrichtext.cpp. References QValueList< T >::begin(), QValueList< T >::end(), indices, para, and paras. Referenced by insert(), remove(), and splitAndInsertEmptyParagraph(). |
|
|
Definition at line 303 of file qrichtext_p.h. Referenced by Qt3::QTextEdit::clear(), gotoEnd(), Qt3::QTextEdit::removeSelectedText(), and Qt3::QTextDocument::removeSelectedText(). |
|
|
|
Definition at line 290 of file qrichtext_p.h. Referenced by Qt3::QTextEdit::ensureCursorVisible(), gotoIntoNested(), and place(). |
|
|
Definition at line 291 of file qrichtext_p.h. Referenced by Qt3::QTextEdit::ensureCursorVisible(), gotoIntoNested(), and place(). |
|
|
Definition at line 301 of file qrichtext_p.h. Referenced by Qt3::QTextDocument::selectedText(). |
|
|
Definition at line 249 of file qrichtext_p.h. |
|
|
Definition at line 420 of file qrichtext.cpp. References idx, indices, ox, oy, para, paras, tmpIndex, valid, xOffsets, and yOffsets. |
|
|
Definition at line 436 of file qrichtext.cpp. |
|
|
||||||||||||||||
|
||||||||||||
|
Definition at line 295 of file qrichtext_p.h. References FALSE, and place(). Referenced by Qt3::QTextEdit::charAt(), Qt3::QTextEdit::paragraphAt(), place(), and Qt3::QTextEdit::placeCursor(). |
|
|
Definition at line 613 of file qrichtext.cpp. References idx, indices, QValueList< T >::isEmpty(), ox, para, paras, QValueStack< T >::pop(), xOffsets, and yOffsets. Referenced by gotoDown(), gotoNextLetter(), gotoPosition(), gotoPreviousLetter(), gotoUp(), place(), processNesting(), and restoreState(). |
|
|
Definition at line 719 of file qrichtext.cpp. References Qt3::QTextParagraph::at(), Qt3::QTextParagraph::document(), Down, EnterBegin, EnterEnd, FALSE, idx, Qt3::QTextParagraph::lineHeightOfChar(), Next, ox, oy, para, pop(), Prev, push(), Qt3::QTextParagraph::rect(), TRUE, Up, and y(). Referenced by gotoDown(), gotoNextLetter(), gotoPreviousLetter(), and gotoUp(). |
|
|
Definition at line 605 of file qrichtext.cpp. References idx, indices, ox, oy, para, paras, QValueStack< T >::push(), xOffsets, and yOffsets. Referenced by gotoIntoNested(), and processNesting(). |
|
|
Definition at line 1128 of file qrichtext.cpp. References atParagEnd(), Qt3::QTextParagraph::document(), FALSE, Qt3::QTextParagraph::format(), idx, invalidateNested(), Qt3::QTextParagraph::join(), Qt3::QTextParagraph::next(), para, Qt3::QTextParagraph::rect(), Qt3::QTextParagraph::remove(), tmpIndex, and TRUE. Referenced by Qt3::QTextEdit::doKeyboardAction(), Qt3::QTextDeleteCommand::execute(), and Qt3::QTextEdit::keyPressEvent(). |
|
|
|
|
|
Definition at line 302 of file qrichtext_p.h. Referenced by Qt3::QTextDocument::removeSelectedText(). |
|
||||||||||||
|
|
Definition at line 289 of file qrichtext_p.h. Referenced by Qt3::QTextEdit::drawCursor(), gotoEnd(), and gotoHome(). |
|
|
Definition at line 441 of file qrichtext.cpp. References QValueList< T >::begin(), QValueList< T >::end(), ox, and xOffsets. Referenced by Qt3::QTextEdit::drawCursor(), and globalX(). |
|
|
Definition at line 449 of file qrichtext.cpp. References QValueList< T >::begin(), QValueList< T >::end(), oy, yoff, and yOffsets. Referenced by Qt3::QTextEdit::drawCursor(), globalY(), and Qt3::QTextEdit::scrollToAnchor(). |
|
|
Definition at line 103 of file qrichtext_p.cpp. References Qt3::AlignJustify, Qt3::QTextParagraph::alignment(), Qt3::QTextParagraph::at(), Qt3::QTextStringChar::c, idx, QChar::isSpace(), Qt3::QTextStringChar::lineStart, para, Qt3::QTextStringChar::rightToLeft, Qt3::QTextParagraph::string(), and Qt3::QTextStringChar::x. Referenced by Qt3::QTextEdit::drawCursor(), globalX(), Qt3::QTextParagraph::paint(), place(), and Qt3::QTextEdit::updateMicroFocusHint(). |
|
|
Definition at line 118 of file qrichtext_p.cpp. References idx, Qt3::QTextParagraph::lineStartOfChar(), Qt3::QTextParagraph::lineY(), and para. Referenced by Qt3::QTextEdit::drawCursor(), globalY(), gotoIntoNested(), insert(), place(), processNesting(), and Qt3::QTextEdit::updateMicroFocusHint(). |
|
|
Definition at line 315 of file qrichtext_p.h. Referenced by atParagEnd(), atParagStart(), gotoDown(), gotoIntoNested(), gotoLineEnd(), gotoLineStart(), gotoNextLetter(), gotoNextWord(), gotoPageDown(), gotoPageUp(), gotoPosition(), gotoPreviousLetter(), gotoPreviousWord(), gotoUp(), indent(), insert(), operator=(), operator==(), pop(), processNesting(), push(), QTextCursor(), remove(), splitAndInsertEmptyParagraph(), x(), and y(). |
|
|
Definition at line 317 of file qrichtext_p.h. Referenced by gotoPosition(), invalidateNested(), operator=(), pop(), push(), QTextCursor(), and restoreState(). |
|
|
Definition at line 316 of file qrichtext_p.h. Referenced by gotoIntoNested(), operator=(), pop(), processNesting(), push(), QTextCursor(), and totalOffsetX(). |
|
|
Definition at line 316 of file qrichtext_p.h. Referenced by gotoIntoNested(), operator=(), processNesting(), push(), QTextCursor(), and totalOffsetY(). |
|
|
Definition at line 314 of file qrichtext_p.h. Referenced by atParagEnd(), document(), globalX(), globalY(), gotoDown(), gotoIntoNested(), gotoLeft(), gotoLineEnd(), gotoLineStart(), gotoNextLetter(), gotoNextWord(), gotoPageDown(), gotoPageUp(), gotoPosition(), gotoPreviousLetter(), gotoPreviousWord(), gotoRight(), gotoUp(), gotoWordLeft(), gotoWordRight(), indent(), insert(), invalidateNested(), operator=(), operator==(), place(), pop(), processNesting(), push(), QTextCursor(), remove(), splitAndInsertEmptyParagraph(), x(), and y(). |
|
|
Definition at line 318 of file qrichtext_p.h. Referenced by invalidateNested(), operator=(), pop(), push(), and QTextCursor(). |
|
|
Definition at line 315 of file qrichtext_p.h. Referenced by gotoDown(), gotoLineEnd(), gotoLineStart(), gotoNextLetter(), gotoNextWord(), gotoPosition(), gotoPreviousLetter(), gotoPreviousWord(), gotoUp(), insert(), operator=(), QTextCursor(), remove(), and splitAndInsertEmptyParagraph(). |
|
|
Definition at line 321 of file qrichtext_p.h. Referenced by operator=(), and QTextCursor(). |
|
|
Definition at line 319 of file qrichtext_p.h. Referenced by operator=(), pop(), push(), QTextCursor(), and totalOffsetX(). |
|
|
Definition at line 320 of file qrichtext_p.h. Referenced by operator=(), pop(), push(), QTextCursor(), and totalOffsetY(). |
1.4.2