~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qdomtext.html

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE html
3
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
 
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/src/xml/dom/qdom.cpp -->
 
5
<!-- qdom.cpp -->
6
6
<head>
7
 
  <title>Qt 4.5: QDomText Class Reference</title>
 
7
  <title>Qt 4.6: QDomText Class Reference</title>
8
8
  <link href="classic.css" rel="stylesheet" type="text/css" />
9
9
</head>
10
10
<body>
 
11
<a name="//apple_ref/cpp/cl//QDomText" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
12
13
<tr>
13
 
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
 
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">All&nbsp;Namespaces</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
 
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QDomText Class Reference<br /><span class="small-subtitle">[<a href="qtxml.html">QtXml</a> module]</span>
 
14
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
 
15
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
 
16
</tr></table><h1 class="title">QDomText Class Reference<br /><span class="small-subtitle">[<a href="qtxml.html">QtXml</a> module]</span>
16
17
</h1>
17
18
<p>The QDomText class represents text data in the parsed XML document. <a href="#details">More...</a></p>
18
 
<pre> #include &lt;QDomText&gt;</pre><p>Inherits <a href="qdomcharacterdata.html">QDomCharacterData</a>.</p>
 
19
<pre> #include &lt;QDomText&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
 
20
<p>Inherits <a href="qdomcharacterdata.html">QDomCharacterData</a>.</p>
19
21
<p>Inherited by <a href="qdomcdatasection.html">QDomCDATASection</a>.</p>
20
 
<p><b>Note:</b> All the functions in this class are <a href="threads.html#reentrant">reentrant</a>.</p>
 
22
<p><b>Note:</b> All functions in this class are <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
21
23
<ul>
22
24
<li><a href="qdomtext-members.html">List of all members, including inherited members</a></li>
23
25
</ul>
 
26
<hr />
24
27
<a name="public-functions"></a>
25
 
<h3>Public Functions</h3>
26
 
<ul>
27
 
<li><div class="fn"></div><b><a href="qdomtext.html#QDomText">QDomText</a></b> ()</li>
28
 
<li><div class="fn"></div><b><a href="qdomtext.html#QDomText-2">QDomText</a></b> ( const QDomText &amp; <i>x</i> )</li>
29
 
<li><div class="fn"></div>QDomNode::NodeType <b><a href="qdomtext.html#nodeType">nodeType</a></b> () const</li>
30
 
<li><div class="fn"></div>QDomText <b><a href="qdomtext.html#splitText">splitText</a></b> ( int <i>offset</i> )</li>
31
 
<li><div class="fn"></div>QDomText &amp; <b><a href="qdomtext.html#operator-eq">operator=</a></b> ( const QDomText &amp; <i>x</i> )</li>
32
 
</ul>
33
 
<ul>
34
 
<li><div class="fn"></div>10 public functions inherited from <a href="qdomcharacterdata.html#public-functions">QDomCharacterData</a></li>
35
 
<li><div class="fn"></div>66 public functions inherited from <a href="qdomnode.html#public-functions">QDomNode</a></li>
 
28
<h2>Public Functions</h2>
 
29
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
 
30
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qdomtext.html#QDomText">QDomText</a></b> ()</td></tr>
 
31
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qdomtext.html#QDomText-2">QDomText</a></b> ( const QDomText &amp; <i>x</i> )</td></tr>
 
32
<tr><td class="memItemLeft" align="right" valign="top">QDomNode::NodeType </td><td class="memItemRight" valign="bottom"><b><a href="qdomtext.html#nodeType">nodeType</a></b> () const</td></tr>
 
33
<tr><td class="memItemLeft" align="right" valign="top">QDomText </td><td class="memItemRight" valign="bottom"><b><a href="qdomtext.html#splitText">splitText</a></b> ( int <i>offset</i> )</td></tr>
 
34
<tr><td class="memItemLeft" align="right" valign="top">QDomText &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qdomtext.html#operator-eq">operator=</a></b> ( const QDomText &amp; <i>x</i> )</td></tr>
 
35
</table>
 
36
<ul>
 
37
<li><div bar="2" class="fn"></div>10 public functions inherited from <a href="qdomcharacterdata.html#public-functions">QDomCharacterData</a></li>
 
38
<li><div bar="2" class="fn"></div>66 public functions inherited from <a href="qdomnode.html#public-functions">QDomNode</a></li>
36
39
</ul>
37
40
<a name="details"></a>
38
41
<hr />
42
45
<p>For further information about the Document Object Model see <a href="http://www.w3.org/TR/REC-DOM-Level-1/">Level 1</a> and <a href="http://www.w3.org/TR/DOM-Level-2-Core/">Level 2 Core</a>. For a more general introduction of the DOM implementation see the <a href="qdomdocument.html">QDomDocument</a> documentation.</p>
43
46
<hr />
44
47
<h2>Member Function Documentation</h2>
 
48
<a name="//apple_ref/cpp/instm/QDomText/QDomText" />
45
49
<h3 class="fn"><a name="QDomText"></a>QDomText::QDomText ()</h3>
46
50
<p>Constructs an empty <a href="qdomtext.html">QDomText</a> object.</p>
47
51
<p>To construct a <a href="qdomtext.html">QDomText</a> with content, use <a href="qdomdocument.html#createTextNode">QDomDocument::createTextNode</a>().</p>
48
52
<h3 class="fn"><a name="QDomText-2"></a>QDomText::QDomText ( const QDomText &amp; <i>x</i> )</h3>
49
53
<p>Constructs a copy of <i>x</i>.</p>
50
54
<p>The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use <a href="qdomnode.html#cloneNode">cloneNode</a>().</p>
 
55
<a name="//apple_ref/cpp/instm/QDomText/nodeType" />
51
56
<h3 class="fn"><a name="nodeType"></a><a href="qdomnode.html#NodeType-enum">QDomNode::NodeType</a> QDomText::nodeType () const</h3>
52
57
<p>Returns <tt>TextNode</tt>.</p>
 
58
<a name="//apple_ref/cpp/instm/QDomText/splitText" />
53
59
<h3 class="fn"><a name="splitText"></a>QDomText QDomText::splitText ( int <i>offset</i> )</h3>
54
60
<p>Splits this DOM text object into two <a href="qdomtext.html">QDomText</a> objects. This object keeps its first <i>offset</i> characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters.</p>
55
61
<p>The function returns the newly created object.</p>
56
62
<p>See also <a href="qdomnode.html#normalize">QDomNode::normalize</a>().</p>
 
63
<a name="//apple_ref/cpp/instm/QDomText/operator=" />
57
64
<h3 class="fn"><a name="operator-eq"></a>QDomText &amp; QDomText::operator= ( const QDomText &amp; <i>x</i> )</h3>
58
65
<p>Assigns <i>x</i> to this DOM text.</p>
59
66
<p>The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use <a href="qdomnode.html#cloneNode">cloneNode</a>().</p>
60
67
<p /><address><hr /><div align="center">
61
68
<table width="100%" cellspacing="0" border="0"><tr class="address">
62
 
<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
63
 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
64
 
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
65
 
</tr></table></div></address></body>
 
69
<td width="40%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
 
70
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
71
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
 
72
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>
66
73
</html>