QTextBoundaryFinder

#include <QtCore/QTextBoundaryFinder>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QTextBoundaryFinder


Overview

Public Types Index

enum BoundaryReason

NotAtBoundary 0, StartWord 1, EndWord 2

enum BoundaryType

Grapheme, Word, Line, Sentence

Public Functions Index

QTextBoundaryFinder ()
QTextBoundaryFinder (const QTextBoundaryFinder &other)
QTextBoundaryFinder (BoundaryType type, const QString &string)
QTextBoundaryFinder (BoundaryType type, const QChar *chars, int length, unsigned char *buffer=0, int bufferSize=0)
~QTextBoundaryFinder ()
BoundaryReasonsboundaryReasons () const
boolisAtBoundary () const
boolisValid () const
QTextBoundaryFinder &operator= (const QTextBoundaryFinder &other)
intposition () const
voidsetPosition (int position)
QStringstring () const
voidtoEnd ()
inttoNextBoundary ()
inttoPreviousBoundary ()
voidtoStart ()
BoundaryTypetype () const

Public Types

BoundaryReason

NotAtBoundary 0
StartWord 1
EndWord 2

BoundaryType

Grapheme
Word
Line
Sentence

Public Functions

QTextBoundaryFinder ()

QTextBoundaryFinder (

QTextBoundaryFinder (
  • BoundaryTypetype,
  • const QString &string )

QTextBoundaryFinder (
  • BoundaryTypetype,
  • const QChar *chars,
  • intlength,
  • unsigned char *buffer,
  • intbufferSize )

~QTextBoundaryFinder ()

Destructor.

BoundaryReasons boundaryReasons ()

bool isAtBoundary ()

bool isValid ()

QTextBoundaryFinder & operator= (

int position ()

void setPosition (
  • intposition)

QString string ()

void toEnd ()

int toNextBoundary ()

int toPreviousBoundary ()

void toStart ()

BoundaryType type ()

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus