#include <qtextboundaryfinder.h>
Definition at line 56 of file qtextboundaryfinder.h.
Public Types | |
| enum | BoundaryType { Grapheme, Word, Line, Sentence } |
| enum | BoundaryReason { NotAtBoundary = 0, StartWord = 1, EndWord = 2 } |
Public Member Functions | |
| QTextBoundaryFinder () | |
| QTextBoundaryFinder (const QTextBoundaryFinder &other) | |
| QTextBoundaryFinder & | operator= (const QTextBoundaryFinder &other) |
| ~QTextBoundaryFinder () | |
| QTextBoundaryFinder (BoundaryType type, const QString &string) | |
| QTextBoundaryFinder (BoundaryType type, const QChar *chars, int length, unsigned char *buffer=0, int bufferSize=0) | |
| bool | isValid () const |
| BoundaryType | type () const |
| QString | string () const |
| void | toStart () |
| void | toEnd () |
| int | position () const |
| void | setPosition (int position) |
| int | toNextBoundary () |
| int | toPreviousBoundary () |
| bool | isAtBoundary () const |
| BoundaryReasons | boundaryReasons () const |
| enum BoundaryType |
| enum BoundaryReason |
| QTextBoundaryFinder | ( | const QTextBoundaryFinder & | other | ) |
| ~QTextBoundaryFinder | ( | ) |
| QTextBoundaryFinder | ( | BoundaryType | type, |
| const QString & | string | ||
| ) |
| QTextBoundaryFinder | ( | BoundaryType | type, |
| const QChar * | chars, | ||
| int | length, | ||
| unsigned char * | buffer = 0, |
||
| int | bufferSize = 0 |
||
| ) |
| QTextBoundaryFinder& operator= | ( | const QTextBoundaryFinder & | other | ) |
|
inline |
Definition at line 82 of file qtextboundaryfinder.h.
|
inline |
Definition at line 84 of file qtextboundaryfinder.h.
| void toStart | ( | ) |
| void toEnd | ( | ) |
| int position | ( | ) | const |
| int toNextBoundary | ( | ) |
| int toPreviousBoundary | ( | ) |
| bool isAtBoundary | ( | ) | const |
| BoundaryReasons boundaryReasons | ( | ) | const |