Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 1dd17e0d683ef79b4bb6872bbf359d7f > files > 6768

qt4-doc-4.8.7-26.2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtextboundaryfinder.cpp -->
  <title>Qt 4.8: QTextBoundaryFinder Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->

<script src="scripts/superfish.js" type="text/javascript"></script>
<script src="scripts/narrow.js" type="text/javascript"></script>

</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
    <div id="narrowsearch"></div>
    <div id="nav-topright">
      <ul>
        <li class="nav-topright-home"><a href="http://qt.digia.com/">Qt HOME</a></li>
        <li class="nav-topright-dev"><a href="http://qt-project.org/">DEV</a></li>
        <li class="nav-topright-doc nav-topright-doc-active"><a href="http://qt-project.org/doc/">
          DOC</a></li>
        <li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.8</a></span></li>
        <li class="shortCut-topleft-active"><a href="http://qt-project.org/doc/">ALL VERSIONS        </a></li>
      </ul>
     </div>
 <ul class="sf-menu" id="narrowmenu"> 
             <li><a href="#">API Lookup</a> 
                 <ul> 
                     <li><a href="classes.html">Class index</a></li> 
           <li><a href="functions.html">Function index</a></li> 
           <li><a href="modules.html">Modules</a></li> 
           <li><a href="namespaces.html">Namespaces</a></li> 
           <li><a href="qtglobal.html">Global Declarations</a></li> 
           <li><a href="qdeclarativeelements.html">QML elements</a></li> 
             </ul> 
             </li> 
             <li><a href="#">Qt Topics</a> 
                 <ul> 
                        <li><a href="qt-basic-concepts.html">Programming with Qt</a></li>  
                        <li><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li>  
                        <li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>  
                        <li><a href="supported-platforms.html">Supported Platforms</a></li>  
                        <li><a href="technology-apis.html">Qt and Key Technologies</a></li>  
                        <li><a href="best-practices.html">How-To's and Best Practices</a></li>  
              </ul> 
                 </li> 
                 <li><a href="#">Examples</a> 
                     <ul> 
                       <li><a href="all-examples.html">Examples</a></li> 
                       <li><a href="tutorials.html">Tutorials</a></li> 
                       <li><a href="demos.html">Demos</a></li> 
                       <li><a href="qdeclarativeexamples.html">QML Examples</a></li> 
                </ul> 
                     </li> 
                 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search" id="sidebarsearch">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
 <div id="resultdialog"> 
 <a href="#" id="resultclose">Close</a> 
 <p id="resultlinks" class="all"><a href="#" id="showallresults">All</a> | <a href="#" id="showapiresults">API</a> | <a href="#" id="showarticleresults">Articles</a> | <a href="#" id="showexampleresults">Examples</a></p> 
 <p id="searchcount" class="all"><span id="resultcount"></span><span id="apicount"></span><span id="articlecount"></span><span id="examplecount"></span>&nbsp;results:</p> 
 <ul id="resultlist" class="all"> 
 </ul> 
 </div> 
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="functions.html">Function index</a></li>
              <li class="defaultLink"><a href="modules.html">Modules</a></li>
              <li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
              <li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
              <li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
            </ul> 
          </div>
        </div>
        <div class="box bottombar" id="topics">
          <h2 title="Qt Topics"><span></span>
            Qt Topics</h2>
          <div id="list002" class="list">
            <ul id="ul002" >
               <li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li> 
               <li class="defaultLink"><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li> 
               <li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li> 
               <li class="defaultLink"><a href="supported-platforms.html">Supported Platforms</a></li>  
               <li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li> 
               <li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li> 
            </ul>  
          </div>
        </div>
        <div class="box" id="examples">
          <h2 title="Examples"><span></span>
            Examples</h2>
          <div id="list003" class="list">
        <ul id="ul003">
              <li class="defaultLink"><a href="all-examples.html">Examples</a></li>
              <li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
              <li class="defaultLink"><a href="demos.html">Demos</a></li>
              <li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtcore.html">QtCore</a></li>
<li>QTextBoundaryFinder</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
        </div>
        </div>
        <div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QTextBoundaryFinder Class Reference</h1>
<!-- $$$QTextBoundaryFinder-brief -->
<p>The QTextBoundaryFinder class provides a way of finding Unicode text boundaries in a string. <a href="#details">More...</a></p>
<!-- @@@QTextBoundaryFinder -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QTextBoundaryFinder&gt;</span></pre><p><b>Note:</b> All functions in this class are <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
<p>This class was introduced in Qt 4.4.</p>
<ul>
<li><a href="qtextboundaryfinder-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#BoundaryReason-enum">BoundaryReason</a></b> { NotAtBoundary, StartWord, EndWord }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#BoundaryReason-enum">BoundaryReasons</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#BoundaryType-enum">BoundaryType</a></b> { Grapheme, Word, Line, Sentence }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#QTextBoundaryFinder">QTextBoundaryFinder</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#QTextBoundaryFinder-2">QTextBoundaryFinder</a></b> ( const QTextBoundaryFinder &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#QTextBoundaryFinder-3">QTextBoundaryFinder</a></b> ( BoundaryType <i>type</i>, const QString &amp; <i>string</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#QTextBoundaryFinder-4">QTextBoundaryFinder</a></b> ( BoundaryType <i>type</i>, const QChar * <i>chars</i>, int <i>length</i>, unsigned char * <i>buffer</i> = 0, int <i>bufferSize</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#dtor.QTextBoundaryFinder">~QTextBoundaryFinder</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> BoundaryReasons </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#boundaryReasons">boundaryReasons</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#isAtBoundary">isAtBoundary</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#isValid">isValid</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#position">position</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#setPosition">setPosition</a></b> ( int <i>position</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#string">string</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#toEnd">toEnd</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#toNextBoundary">toNextBoundary</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#toPreviousBoundary">toPreviousBoundary</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#toStart">toStart</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> BoundaryType </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#type">type</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTextBoundaryFinder &amp; </td><td class="memItemRight bottomAlign"><b><a href="qtextboundaryfinder.html#operator-eq">operator=</a></b> ( const QTextBoundaryFinder &amp; <i>other</i> )</td></tr>
</table>
<a name="details"></a>
<!-- $$$QTextBoundaryFinder-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QTextBoundaryFinder class provides a way of finding Unicode text boundaries in a string.</p>
<p>QTextBoundaryFinder allows to find Unicode text boundaries in a string, similar to the Unicode text boundary specification (see http://www.unicode.org/reports/tr29/tr29-11.html).</p>
<p>QTextBoundaryFinder can operate on a <a href="qstring.html">QString</a> in four possible modes depending on the value of <i>BoundaryType</i>.</p>
<p>Units of Unicode characters that make up what the user thinks of as a character or basic unit of the language are here called Grapheme clusters. The two unicode characters 'A' + diaeresis do for example form one grapheme cluster as the user thinks of them as one character, yet it is in this case represented by two unicode code points.</p>
<p>Word boundaries are there to locate the start and end of what a language considers to be a word.</p>
<p>Line break boundaries give possible places where a line break might happen and sentence boundaries will show the beginning and end of whole sentences.</p>
<p>The first position in a string is always a valid boundary and refers to the position before the first character. The last position at the length of the string is also valid and refers to the position after the last character.</p>
</div>
<!-- @@@QTextBoundaryFinder -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$BoundaryReason$$$NotAtBoundary$$$StartWord$$$EndWord -->
<h3 class="flags"><a name="BoundaryReason-enum"></a>enum QTextBoundaryFinder::<span class="name">BoundaryReason</span><br/>flags QTextBoundaryFinder::<span class="name">BoundaryReasons</span></h3>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QTextBoundaryFinder::NotAtBoundary</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The boundary finder is not at a boundary position.</td></tr>
<tr><td class="topAlign"><tt>QTextBoundaryFinder::StartWord</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The boundary finder is at the start of a word.</td></tr>
<tr><td class="topAlign"><tt>QTextBoundaryFinder::EndWord</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">The boundary finder is at the end of a word.</td></tr>
</table>
<p>The BoundaryReasons type is a typedef for <a href="qflags.html">QFlags</a>&lt;BoundaryReason&gt;. It stores an OR combination of BoundaryReason values.</p>
<!-- @@@BoundaryReason -->
<!-- $$$BoundaryType$$$Grapheme$$$Word$$$Line$$$Sentence -->
<h3 class="fn"><a name="BoundaryType-enum"></a>enum QTextBoundaryFinder::<span class="name">BoundaryType</span></h3>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QTextBoundaryFinder::Grapheme</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">Finds a grapheme which is the smallest boundary. It including letters, punctation marks, numerals and more.</td></tr>
<tr><td class="topAlign"><tt>QTextBoundaryFinder::Word</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">Finds a word.</td></tr>
<tr><td class="topAlign"><tt>QTextBoundaryFinder::Line</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">Finds possible positions for breaking the text into multiple lines.</td></tr>
<tr><td class="topAlign"><tt>QTextBoundaryFinder::Sentence</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Finds sentence boundaries. These include periods, question marks etc.</td></tr>
</table>
<!-- @@@BoundaryType -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QTextBoundaryFinder[overload1]$$$QTextBoundaryFinder -->
<h3 class="fn"><a name="QTextBoundaryFinder"></a>QTextBoundaryFinder::<span class="name">QTextBoundaryFinder</span> ()</h3>
<p>Constructs an invalid <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object.</p>
<!-- @@@QTextBoundaryFinder -->
<!-- $$$QTextBoundaryFinder$$$QTextBoundaryFinderconstQTextBoundaryFinder& -->
<h3 class="fn"><a name="QTextBoundaryFinder-2"></a>QTextBoundaryFinder::<span class="name">QTextBoundaryFinder</span> ( const <span class="type">QTextBoundaryFinder</span> &amp; <i>other</i> )</h3>
<p>Copies the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object, <i>other</i>.</p>
<!-- @@@QTextBoundaryFinder -->
<!-- $$$QTextBoundaryFinder$$$QTextBoundaryFinderBoundaryTypeconstQString& -->
<h3 class="fn"><a name="QTextBoundaryFinder-3"></a>QTextBoundaryFinder::<span class="name">QTextBoundaryFinder</span> ( <span class="type"><a href="qtextboundaryfinder.html#BoundaryType-enum">BoundaryType</a></span> <i>type</i>, const <span class="type"><a href="qstring.html">QString</a></span> &amp; <i>string</i> )</h3>
<p>Creates a <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object of <i>type</i> operating on <i>string</i>.</p>
<!-- @@@QTextBoundaryFinder -->
<!-- $$$QTextBoundaryFinder$$$QTextBoundaryFinderBoundaryTypeconstQChar*intunsignedchar*int -->
<h3 class="fn"><a name="QTextBoundaryFinder-4"></a>QTextBoundaryFinder::<span class="name">QTextBoundaryFinder</span> ( <span class="type"><a href="qtextboundaryfinder.html#BoundaryType-enum">BoundaryType</a></span> <i>type</i>, const <span class="type"><a href="qchar.html">QChar</a></span> * <i>chars</i>, <span class="type">int</span> <i>length</i>, <span class="type">unsigned</span> <span class="type">char</span> * <i>buffer</i> = 0, <span class="type">int</span> <i>bufferSize</i> = 0 )</h3>
<p>Creates a <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object of <i>type</i> operating on <i>chars</i> with <i>length</i>.</p>
<p><i>buffer</i> is an optional working buffer of size <i>bufferSize</i> you can pass to the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a>. If the buffer is large enough to hold the working data required, it will use this instead of allocating its own buffer.</p>
<p><b>Warning:</b> <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> does not create a copy of <i>chars</i>. It is the application programmer's responsibility to ensure the array is allocated for as long as the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object stays alive. The same applies to <i>buffer</i>.</p>
<!-- @@@QTextBoundaryFinder -->
<!-- $$$~QTextBoundaryFinder[overload1]$$$~QTextBoundaryFinder -->
<h3 class="fn"><a name="dtor.QTextBoundaryFinder"></a>QTextBoundaryFinder::<span class="name">~QTextBoundaryFinder</span> ()</h3>
<p>Destructs the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object.</p>
<!-- @@@~QTextBoundaryFinder -->
<!-- $$$boundaryReasons[overload1]$$$boundaryReasons -->
<h3 class="fn"><a name="boundaryReasons"></a><span class="type"><a href="qtextboundaryfinder.html#BoundaryReason-enum">BoundaryReasons</a></span> QTextBoundaryFinder::<span class="name">boundaryReasons</span> () const</h3>
<p>Returns the reasons for the boundary finder to have chosen the current position as a boundary.</p>
<!-- @@@boundaryReasons -->
<!-- $$$isAtBoundary[overload1]$$$isAtBoundary -->
<h3 class="fn"><a name="isAtBoundary"></a><span class="type">bool</span> QTextBoundaryFinder::<span class="name">isAtBoundary</span> () const</h3>
<p>Returns true if the object's <a href="qtextboundaryfinder.html#position">position</a>() is currently at a valid text boundary.</p>
<!-- @@@isAtBoundary -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> QTextBoundaryFinder::<span class="name">isValid</span> () const</h3>
<p>Returns true if the text boundary finder is valid; otherwise returns false. A default <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> is invalid.</p>
<!-- @@@isValid -->
<!-- $$$position[overload1]$$$position -->
<h3 class="fn"><a name="position"></a><span class="type">int</span> QTextBoundaryFinder::<span class="name">position</span> () const</h3>
<p>Returns the current position of the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a>.</p>
<p>The range is from 0 (the beginning of the string) to the length of the string inclusive.</p>
<p><b>See also </b><a href="qtextboundaryfinder.html#setPosition">setPosition</a>().</p>
<!-- @@@position -->
<!-- $$$setPosition[overload1]$$$setPositionint -->
<h3 class="fn"><a name="setPosition"></a><span class="type">void</span> QTextBoundaryFinder::<span class="name">setPosition</span> ( <span class="type">int</span> <i>position</i> )</h3>
<p>Sets the current position of the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> to <i>position</i>.</p>
<p>If <i>position</i> is out of bounds, it will be bound to only valid positions. In this case, valid positions are from 0 to the length of the string inclusive.</p>
<p><b>See also </b><a href="qtextboundaryfinder.html#position">position</a>().</p>
<!-- @@@setPosition -->
<!-- $$$string[overload1]$$$string -->
<h3 class="fn"><a name="string"></a><span class="type"><a href="qstring.html">QString</a></span> QTextBoundaryFinder::<span class="name">string</span> () const</h3>
<p>Returns the string the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object operates on.</p>
<!-- @@@string -->
<!-- $$$toEnd[overload1]$$$toEnd -->
<h3 class="fn"><a name="toEnd"></a><span class="type">void</span> QTextBoundaryFinder::<span class="name">toEnd</span> ()</h3>
<p>Moves the finder to the end of the string. This is equivalent to setPosition(string.length()).</p>
<p><b>See also </b><a href="qtextboundaryfinder.html#setPosition">setPosition</a>() and <a href="qtextboundaryfinder.html#position">position</a>().</p>
<!-- @@@toEnd -->
<!-- $$$toNextBoundary[overload1]$$$toNextBoundary -->
<h3 class="fn"><a name="toNextBoundary"></a><span class="type">int</span> QTextBoundaryFinder::<span class="name">toNextBoundary</span> ()</h3>
<p>Moves the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> to the next boundary position and returns that position.</p>
<p>Returns -1 if there is no next boundary.</p>
<!-- @@@toNextBoundary -->
<!-- $$$toPreviousBoundary[overload1]$$$toPreviousBoundary -->
<h3 class="fn"><a name="toPreviousBoundary"></a><span class="type">int</span> QTextBoundaryFinder::<span class="name">toPreviousBoundary</span> ()</h3>
<p>Moves the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> to the previous boundary position and returns that position.</p>
<p>Returns -1 if there is no previous boundary.</p>
<!-- @@@toPreviousBoundary -->
<!-- $$$toStart[overload1]$$$toStart -->
<h3 class="fn"><a name="toStart"></a><span class="type">void</span> QTextBoundaryFinder::<span class="name">toStart</span> ()</h3>
<p>Moves the finder to the start of the string. This is equivalent to setPosition(0).</p>
<p><b>See also </b><a href="qtextboundaryfinder.html#setPosition">setPosition</a>() and <a href="qtextboundaryfinder.html#position">position</a>().</p>
<!-- @@@toStart -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn"><a name="type"></a><span class="type"><a href="qtextboundaryfinder.html#BoundaryType-enum">BoundaryType</a></span> QTextBoundaryFinder::<span class="name">type</span> () const</h3>
<p>Returns the type of the <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a>.</p>
<!-- @@@type -->
<!-- $$$operator=[overload1]$$$operator=constQTextBoundaryFinder& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QTextBoundaryFinder</span> &amp; QTextBoundaryFinder::<span class="name">operator=</span> ( const <span class="type">QTextBoundaryFinder</span> &amp; <i>other</i> )</h3>
<p>Assigns the object, <i>other</i>, to another <a href="qtextboundaryfinder.html">QTextBoundaryFinder</a> object.</p>
<!-- @@@operator= -->
</div>
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2015 The Qt Company Ltd.
      Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      The documentation provided herein is licensed under the terms of the
      <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
      License version 1.3</a> as published by the Free Software Foundation.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Qt and respective logos are trademarks of The Qt Company Ltd 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
  </div>

  <script src="scripts/functions.js" type="text/javascript"></script>
</body>
</html>