Definition at line 56 of file qtextboundaryfinder.h.
#include <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 |
Definition at line 64 of file qtextboundaryfinder.h.
| enum BoundaryReason |
Definition at line 71 of file qtextboundaryfinder.h.
{
NotAtBoundary = 0,
StartWord = 1,
EndWord = 2
//Hyphen
};
| 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 | ) |
| bool isValid | ( | ) | const [inline] |
| BoundaryType type | ( | ) | const [inline] |
| QString string | ( | ) | const |
| void toStart | ( | ) |
| void toEnd | ( | ) |
| int position | ( | ) | const |
| void setPosition | ( | int | position | ) |
| int toNextBoundary | ( | ) |
| int toPreviousBoundary | ( | ) |
| bool isAtBoundary | ( | ) | const |
| BoundaryReasons boundaryReasons | ( | ) | const |