~ubuntu-branches/ubuntu/precise/python-qt4/precise-proposed

« back to all changes in this revision

Viewing changes to doc/html/qxmlnodemodelindex.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell, Jonathan Riddell
  • Date: 2010-11-08 16:13:33 UTC
  • mfrom: (1.5.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101108161333-0nec4wu0nz3wpf9r
Tags: 4.8.1-0ubuntu1
[ Jonathan Riddell ]
* New upstream release
* Build against python-sip-dev 4.11.2
* Remove kubuntu_02_fix-scpk-and-flag-issue.diff merged upstream
* Install __init__.py into /usr/lib/python3.2/dist-packages/PyQt4,
  fixes Python 3 support
* Add QtDeclarative to python-qt4
* Add kubuntu_03_uiparser.diff from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
td.postheader { font-family: sans-serif }
7
7
tr.address { font-family: sans-serif }
8
8
body { background: #ffffff; color: black; }
9
 
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QXmlNodeModelIndex Class Reference<br /><sup><sup>[<a href="qtxmlpatterns.html">QtXmlPatterns</a> module]</sup></sup></h1><p>The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>. <a href="#details">More...</a></p>
10
 
<h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qxmlnodemodelindex.html#DocumentOrder-enum">DocumentOrder</a></b> { Precedes, Is, Follows }</li><li><div class="fn" />enum <b><a href="qxmlnodemodelindex.html#NodeKind-enum">NodeKind</a></b> { Attribute, Comment, Document, Element, ..., Text }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qxmlnodemodelindex.html#QXmlNodeModelIndex">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qxmlnodemodelindex.html#QXmlNodeModelIndex-2">__init__</a></b> (<i>self</i>, QXmlNodeModelIndex)</li><li><div class="fn" />int <b><a href="qxmlnodemodelindex.html#additionalData">additionalData</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qxmlnodemodelindex.html#data">data</a></b> (<i>self</i>)</li><li><div class="fn" />object <b><a href="qxmlnodemodelindex.html#internalPointer">internalPointer</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qxmlnodemodelindex.html#isNull">isNull</a></b> (<i>self</i>)</li><li><div class="fn" />QAbstractXmlNodeModel <b><a href="qxmlnodemodelindex.html#model">model</a></b> (<i>self</i>)</li></ul><h3>Special Methods</h3><ul><li><div class="fn" />bool <b><a href="qxmlnodemodelindex.html#__eq__">__eq__</a></b> (<i>self</i>, QXmlNodeModelIndex)</li><li><div class="fn" />int <b><a href="qxmlnodemodelindex.html#__hash__">__hash__</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qxmlnodemodelindex.html#__ne__">__ne__</a></b> (<i>self</i>, QXmlNodeModelIndex)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>.</p>
 
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QXmlNodeModelIndex Class Reference<br /><sup><sup>[<a href="qtxmlpatterns.html">QtXmlPatterns</a> module]</sup></sup></h1><p>The QXmlNodeModelIndex class identifies a node in an XML node
 
10
model subclassed from <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>. <a href="#details">More...</a></p>
 
11
 
 
12
<h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qxmlnodemodelindex.html#DocumentOrder-enum">DocumentOrder</a></b> { Precedes, Is, Follows }</li><li><div class="fn" />enum <b><a href="qxmlnodemodelindex.html#NodeKind-enum">NodeKind</a></b> { Attribute, Comment, Document, Element, ..., Text }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qxmlnodemodelindex.html#QXmlNodeModelIndex">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qxmlnodemodelindex.html#QXmlNodeModelIndex-2">__init__</a></b> (<i>self</i>, QXmlNodeModelIndex)</li><li><div class="fn" />int <b><a href="qxmlnodemodelindex.html#additionalData">additionalData</a></b> (<i>self</i>)</li><li><div class="fn" />int <b><a href="qxmlnodemodelindex.html#data">data</a></b> (<i>self</i>)</li><li><div class="fn" />object <b><a href="qxmlnodemodelindex.html#internalPointer">internalPointer</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qxmlnodemodelindex.html#isNull">isNull</a></b> (<i>self</i>)</li><li><div class="fn" />QAbstractXmlNodeModel <b><a href="qxmlnodemodelindex.html#model">model</a></b> (<i>self</i>)</li></ul><h3>Special Methods</h3><ul><li><div class="fn" />bool <b><a href="qxmlnodemodelindex.html#__eq__">__eq__</a></b> (<i>self</i>, QXmlNodeModelIndex)</li><li><div class="fn" />int <b><a href="qxmlnodemodelindex.html#__hash__">__hash__</a></b> (<i>self</i>)</li><li><div class="fn" />bool <b><a href="qxmlnodemodelindex.html#__ne__">__ne__</a></b> (<i>self</i>, QXmlNodeModelIndex)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QXmlNodeModelIndex class identifies a node in an XML node
 
13
model subclassed from <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>.</p>
11
14
<p>QXmlNodeModelIndex is an index into an <a href="qabstractxmlnodemodel.html">XML node model</a>. It contains:</p>
12
15
<ul>
13
 
<li>A pointer to an <a href="qabstractxmlnodemodel.html">XML node model</a>, which is returned by <a href="qxmlnodemodelindex.html#model">model</a>(), and</li>
14
 
<li>Some data, which is returned by <a href="qxmlnodemodelindex.html#data">data</a>(), <a href="qxmlnodemodelindex.html#internalPointer">internalPointer</a>(), and <a href="qxmlnodemodelindex.html#additionalData">additionalData</a>().</li>
 
16
<li>A pointer to an <a href="qabstractxmlnodemodel.html">XML node
 
17
model</a>, which is returned by <a href="qxmlnodemodelindex.html#model">model</a>(), and</li>
 
18
<li>Some data, which is returned by <a href="qxmlnodemodelindex.html#data">data</a>(), <a href="qxmlnodemodelindex.html#internalPointer">internalPointer</a>(),
 
19
and <a href="qxmlnodemodelindex.html#additionalData">additionalData</a>().</li>
15
20
</ul>
16
 
<p>Because QXmlNodeModelIndex is intentionally a simple class, it doesn't have member functions for accessing the properties of nodes. For example, it doesn't have functions for getting a node's name or its list of attributes or child nodes. If you find that you need to retrieve this kind of information from your query results, there are two ways to proceed.</p>
 
21
<p>Because QXmlNodeModelIndex is intentionally a simple class, it
 
22
doesn't have member functions for accessing the properties of
 
23
nodes. For example, it doesn't have functions for getting a node's
 
24
name or its list of attributes or child nodes. If you find that you
 
25
need to retrieve this kind of information from your query results,
 
26
there are two ways to proceed.</p>
17
27
<ul>
18
28
<li>Send the output of your XQuery to an <a href="qabstractxmlreceiver.html">XML receiver</a>, or</li>
19
 
<li>Let your XQuery do all the work to produce the desired result.</li>
 
29
<li>Let your XQuery do all the work to produce the desired
 
30
result.</li>
20
31
</ul>
21
 
<p>The second case is explained by example. Suppose you want to populate a list widget with the values of certain attributes from a set of result elements. You could write an XQuery to return the set of elements, and then you would write the code to iterate over the result elements, get their attributes, and extract the desired string values. But the simpler way is to just augment your XQuery to finding the desired attribute values. Then all you have to do is evaluate the XQuery using the version of <a href="qxmlquery.html#evaluateTo">QXmlQuery.evaluateTo</a>() that populates a <a href="qstringlist.html">QStringList</a>, which you can send directly to your widget.</p>
22
 
<p>QXmlNodeModelIndex doesn't impose any restrictions on the <tt>data</tt> value an QXmlNodeModelIndex should contain. The meaning of the data left to the associated <a href="qabstractxmlnodemodel.html">node model</a>. Because QXmlNodeModelIndex depends on a particular subclass of <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> for its existence, the only way you can create an instance of QXmlNodeModelIndex is by asking the node model to create one for you with <a href="qabstractxmlnodemodel.html#createIndex">QAbstractXmlNodeModel.createIndex</a>(). Since that function is protected, it is usually a good ide to write a public function that creates a QXmlNodeModelIndex from arguments that are appropriate for your particular node model.</p>
23
 
<p>A default constructed node index is said to be null, i.e., <a href="qxmlnodemodelindex.html#isNull">isNull</a>() returns true.</p>
24
 
<p>QXmlNodeModelIndex and <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> follow the same design pattern used for <a href="qmodelindex.html">QModelIndex</a> and <a href="qabstractitemmodel.html">QAbstractItemModel</a>.</p>
25
 
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="DocumentOrder-enum" />QXmlNodeModelIndex.DocumentOrder</h3><p>Identifies the specific node comparison operator that should be used.</p>
26
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
27
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
28
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Precedes</tt></td><td align="center" valign="top"><tt>-1</tt></td><td valign="top">Signifies the <tt>\&lt;\&lt;</tt> operator. Test whether the first operand precedes the second in the document.</td></tr>
29
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Follows</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Signifies the <tt>\&gt;\&gt;</tt> operator. Test whether the first operand follows the second in the document.</td></tr>
30
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Is</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Signifies the <tt>is</tt> operator. Test whether two nodes have the same node identity.</td></tr>
31
 
</table></p>
32
 
<a name="//apple_ref/cpp/tdef/QXmlNodeModelIndex/List" />
 
32
<p>The second case is explained by example. Suppose you want to
 
33
populate a list widget with the values of certain attributes from a
 
34
set of result elements. You could write an XQuery to return the set
 
35
of elements, and then you would write the code to iterate over the
 
36
result elements, get their attributes, and extract the desired
 
37
string values. But the simpler way is to just augment your XQuery
 
38
to finding the desired attribute values. Then all you have to do is
 
39
evaluate the XQuery using the version of <a href="qxmlquery.html#evaluateTo">QXmlQuery.evaluateTo</a>() that
 
40
populates a <a href="qstringlist.html">QStringList</a>, which you
 
41
can send directly to your widget.</p>
 
42
<p>QXmlNodeModelIndex doesn't impose any restrictions on the
 
43
<tt>data</tt> value an QXmlNodeModelIndex should contain. The
 
44
meaning of the data left to the associated <a href="qabstractxmlnodemodel.html">node model</a>. Because
 
45
QXmlNodeModelIndex depends on a particular subclass of <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> for its
 
46
existence, the only way you can create an instance of
 
47
QXmlNodeModelIndex is by asking the node model to create one for
 
48
you with <a href="qabstractxmlnodemodel.html#createIndex">QAbstractXmlNodeModel.createIndex</a>().
 
49
Since that function is protected, it is usually a good ide to write
 
50
a public function that creates a QXmlNodeModelIndex from arguments
 
51
that are appropriate for your particular node model.</p>
 
52
<p>A default constructed node index is said to be null, i.e.,
 
53
<a href="qxmlnodemodelindex.html#isNull">isNull</a>() returns
 
54
true.</p>
 
55
<p>QXmlNodeModelIndex and <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> follow the
 
56
same design pattern used for <a href="qmodelindex.html">QModelIndex</a> and <a href="qabstractitemmodel.html">QAbstractItemModel</a>.</p>
 
57
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="DocumentOrder-enum" />QXmlNodeModelIndex.DocumentOrder</h3><p>Identifies the specific node comparison operator that should be
 
58
used.</p>
 
59
<table class="valuelist">
 
60
<tr class="odd">
 
61
<td />
 
62
</tr>
 
63
<tr>
 
64
<th class="tblConst">Constant</th>
 
65
<th class="tblval">Value</th>
 
66
<th class="tbldscr">Description</th>
 
67
</tr>
 
68
<tr>
 
69
<td class="topAlign"><tt>QXmlNodeModelIndex.Precedes</tt></td>
 
70
<td class=" topAlign"><tt>-1</tt></td>
 
71
<td class="topAlign">Signifies the <tt>\&lt;\&lt;</tt> operator.
 
72
Test whether the first operand precedes the second in the
 
73
document.</td>
 
74
</tr>
 
75
<tr>
 
76
<td class="topAlign"><tt>QXmlNodeModelIndex.Follows</tt></td>
 
77
<td class=" topAlign"><tt>1</tt></td>
 
78
<td class="topAlign">Signifies the <tt>\&gt;\&gt;</tt> operator.
 
79
Test whether the first operand follows the second in the
 
80
document.</td>
 
81
</tr>
 
82
<tr>
 
83
<td class="topAlign"><tt>QXmlNodeModelIndex.Is</tt></td>
 
84
<td class=" topAlign"><tt>0</tt></td>
 
85
<td class="topAlign">Signifies the <tt>is</tt> operator. Test
 
86
whether two nodes have the same node identity.</td>
 
87
</tr>
 
88
</table>
 
89
 
 
90
 
33
91
<h3 class="fn"><a name="NodeKind-enum" />QXmlNodeModelIndex.NodeKind</h3><p>Identifies a kind of node.</p>
34
 
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
35
 
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
36
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Attribute</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">Identifies an attribute node</td></tr>
37
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Text</tt></td><td align="center" valign="top"><tt>64</tt></td><td valign="top">Identifies a text node</td></tr>
38
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Comment</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">Identifies a comment node</td></tr>
39
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Document</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">Identifies a document node</td></tr>
40
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Element</tt></td><td align="center" valign="top"><tt>8</tt></td><td valign="top">Identifies an element node</td></tr>
41
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.Namespace</tt></td><td align="center" valign="top"><tt>16</tt></td><td valign="top">Identifies a namespace node</td></tr>
42
 
<tr><td valign="top"><tt>QXmlNodeModelIndex.ProcessingInstruction</tt></td><td align="center" valign="top"><tt>32</tt></td><td valign="top">Identifies a processing instruction.</td></tr>
43
 
</table></p>
44
 
<p>Note that the optional XML declaration at very beginning of the XML document is not a processing instruction</p>
 
92
<table class="valuelist">
 
93
<tr class="odd">
 
94
<td />
 
95
</tr>
 
96
<tr>
 
97
<th class="tblConst">Constant</th>
 
98
<th class="tblval">Value</th>
 
99
<th class="tbldscr">Description</th>
 
100
</tr>
 
101
<tr>
 
102
<td class="topAlign"><tt>QXmlNodeModelIndex.Attribute</tt></td>
 
103
<td class=" topAlign"><tt>1</tt></td>
 
104
<td class="topAlign">Identifies an attribute node</td>
 
105
</tr>
 
106
<tr>
 
107
<td class="topAlign"><tt>QXmlNodeModelIndex.Text</tt></td>
 
108
<td class=" topAlign"><tt>64</tt></td>
 
109
<td class="topAlign">Identifies a text node</td>
 
110
</tr>
 
111
<tr>
 
112
<td class="topAlign"><tt>QXmlNodeModelIndex.Comment</tt></td>
 
113
<td class=" topAlign"><tt>2</tt></td>
 
114
<td class="topAlign">Identifies a comment node</td>
 
115
</tr>
 
116
<tr>
 
117
<td class="topAlign"><tt>QXmlNodeModelIndex.Document</tt></td>
 
118
<td class=" topAlign"><tt>4</tt></td>
 
119
<td class="topAlign">Identifies a document node</td>
 
120
</tr>
 
121
<tr>
 
122
<td class="topAlign"><tt>QXmlNodeModelIndex.Element</tt></td>
 
123
<td class=" topAlign"><tt>8</tt></td>
 
124
<td class="topAlign">Identifies an element node</td>
 
125
</tr>
 
126
<tr>
 
127
<td class="topAlign"><tt>QXmlNodeModelIndex.Namespace</tt></td>
 
128
<td class=" topAlign"><tt>16</tt></td>
 
129
<td class="topAlign">Identifies a namespace node</td>
 
130
</tr>
 
131
<tr>
 
132
<td class="topAlign">
 
133
<tt>QXmlNodeModelIndex.ProcessingInstruction</tt></td>
 
134
<td class=" topAlign"><tt>32</tt></td>
 
135
<td class="topAlign">Identifies a processing instruction.</td>
 
136
</tr>
 
137
</table>
 
138
<p>Note that the optional XML declaration at very beginning of the
 
139
XML document is not a processing instruction</p>
45
140
<p>See also <a href="qabstractxmlnodemodel.html#kind">QAbstractXmlNodeModel.kind</a>().</p>
46
141
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QXmlNodeModelIndex" />QXmlNodeModelIndex.__init__ (<i>self</i>)</h3><p>Default constructor. Creates an item that is <tt>null</tt>.</p>
47
142
<p>See also <a href="qxmlnodemodelindex.html#isNull">isNull</a>().</p>
48
 
<h3 class="fn"><a name="QXmlNodeModelIndex-2" />QXmlNodeModelIndex.__init__ (<i>self</i>, <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>)</h3><p>Standard copy constructor. Creates a <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> instance that is a copy of <i>other</i>.</p>
49
 
<a name="//apple_ref/cpp/instm/QXmlNodeModelIndex/additionalData" />
50
 
<h3 class="fn"><a name="additionalData" />int QXmlNodeModelIndex.additionalData (<i>self</i>)</h3><p>Returns the second data value. The node index holds two data values. <a href="qxmlnodemodelindex.html#data">data</a>() returns the first one.</p>
 
143
 
 
144
 
 
145
<h3 class="fn"><a name="QXmlNodeModelIndex-2" />QXmlNodeModelIndex.__init__ (<i>self</i>, <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>)</h3><p>Standard copy constructor. Creates a <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> instance that is a
 
146
copy of <i>other</i>.</p>
 
147
 
 
148
 
 
149
<h3 class="fn"><a name="additionalData" />int QXmlNodeModelIndex.additionalData (<i>self</i>)</h3><p>Returns the second data value. The node index holds two data
 
150
values. <a href="qxmlnodemodelindex.html#data">data</a>() returns
 
151
the first one.</p>
51
152
<p>See also <a href="qxmlnodemodelindex.html#data">data</a>().</p>
52
 
<a name="//apple_ref/cpp/instm/QXmlNodeModelIndex/data" />
53
 
<h3 class="fn"><a name="data" />int QXmlNodeModelIndex.data (<i>self</i>)</h3><p>Returns the first data value. The node index holds two data values. <a href="qxmlnodemodelindex.html#additionalData">additionalData</a>() returns the second one.</p>
 
153
 
 
154
 
 
155
<h3 class="fn"><a name="data" />int QXmlNodeModelIndex.data (<i>self</i>)</h3><p>Returns the first data value. The node index holds two data
 
156
values. <a href="qxmlnodemodelindex.html#additionalData">additionalData</a>()
 
157
returns the second one.</p>
54
158
<p>See also <a href="qxmlnodemodelindex.html#additionalData">additionalData</a>().</p>
55
 
<a name="//apple_ref/cpp/instm/QXmlNodeModelIndex/internalPointer" />
 
159
 
 
160
 
56
161
<h3 class="fn"><a name="internalPointer" />object QXmlNodeModelIndex.internalPointer (<i>self</i>)</h3><p>Returns the first data value as a void* pointer.</p>
57
162
<p>See also <a href="qxmlnodemodelindex.html#additionalData">additionalData</a>().</p>
58
 
<a name="//apple_ref/cpp/instm/QXmlNodeModelIndex/isNull" />
59
 
<h3 class="fn"><a name="isNull" />bool QXmlNodeModelIndex.isNull (<i>self</i>)</h3><p>Returns true if this <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> is a default constructed value, otherwise false.</p>
60
 
<p>A null <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> doesn't represent any node and cannot be used in conjunction with <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>.</p>
61
 
<a name="//apple_ref/cpp/instm/QXmlNodeModelIndex/model" />
62
 
<h3 class="fn"><a name="model" /><a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> QXmlNodeModelIndex.model (<i>self</i>)</h3><p>Returns the <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> that this node index refers to. <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> does not own <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> and does not keep track of its lifetime, so this pointer will dangle if the <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> is deallocated first.</p>
63
 
<p>There is no setter for the node model because instances of <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> instances are only created with <a href="qabstractxmlnodemodel.html#createIndex">QAbstractXmlNodeModel.createIndex</a>().</p>
64
 
<a name="//apple_ref/cpp/instm/QXmlNodeModelIndex/operator!=" />
65
 
<h3 class="fn"><a name="__eq__" />bool QXmlNodeModelIndex.__eq__ (<i>self</i>, <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>)</h3><h3 class="fn"><a name="__hash__" />int QXmlNodeModelIndex.__hash__ (<i>self</i>)</h3><h3 class="fn"><a name="__ne__" />bool QXmlNodeModelIndex.__ne__ (<i>self</i>, <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.7.7 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.6.3</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'
 
163
 
 
164
 
 
165
<h3 class="fn"><a name="isNull" />bool QXmlNodeModelIndex.isNull (<i>self</i>)</h3><p>Returns true if this <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> is a default
 
166
constructed value, otherwise false.</p>
 
167
<p>A null <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>
 
168
doesn't represent any node and cannot be used in conjunction with
 
169
<a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>.</p>
 
170
 
 
171
 
 
172
<h3 class="fn"><a name="model" /><a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> QXmlNodeModelIndex.model (<i>self</i>)</h3><p>Returns the <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> that this
 
173
node index refers to. <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> does not own
 
174
<a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a> and
 
175
does not keep track of its lifetime, so this pointer will dangle if
 
176
the <a href="qabstractxmlnodemodel.html">QAbstractXmlNodeModel</a>
 
177
is deallocated first.</p>
 
178
<p>There is no setter for the node model because instances of
 
179
<a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a> instances
 
180
are only created with <a href="qabstractxmlnodemodel.html#createIndex">QAbstractXmlNodeModel.createIndex</a>().</p>
 
181
 
 
182
 
 
183
<h3 class="fn"><a name="__eq__" />bool QXmlNodeModelIndex.__eq__ (<i>self</i>, <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>)</h3><h3 class="fn"><a name="__hash__" />int QXmlNodeModelIndex.__hash__ (<i>self</i>)</h3><h3 class="fn"><a name="__ne__" />bool QXmlNodeModelIndex.__ne__ (<i>self</i>, <a href="qxmlnodemodelindex.html">QXmlNodeModelIndex</a>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.8.1 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt&#160;4.7.0</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'