~ubuntu-branches/ubuntu/trusty/python-qt4/trusty

« back to all changes in this revision

Viewing changes to doc/html/qxmlstreamattribute.html

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2013-11-13 14:02:27 UTC
  • mfrom: (1.5.18) (50.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20131113140227-jgpyxhgh4pc5j1s4
Tags: 4.10.3+dfsg-1
* Update pyrcc4 man page to list -py2 and -py3 options.
* Regenerate resource files during build.
* Repack orig tarball to remove non-free Sphinx-generated HTML
  documentation and non-free JS files (closes: #723039).
* Add debian/get-orig-source.sh script.
* Update debian/watch to mangle dfsg version.
* Drop debian/python-qt4-doc.docs, we install docs directly.
* Pass --debug to configure-ng.py when doing debug builds.
* Add a patch (phonon_cfgtest.diff) to fix detection of new Phonon
  versions.
* Add a patch (config_flags.diff) to apply build flags to designer
  module.
* Remove duplicate references to GPL license file from debian/copyright.
* Add myself to Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="iso-8859-1"?>
2
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
3
 
<html><head><title>QXmlStreamAttribute Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
4
 
a:link { color: #004faf; text-decoration: none }
5
 
a:visited { color: #672967; text-decoration: none }
6
 
td.postheader { font-family: sans-serif }
7
 
tr.address { font-family: sans-serif }
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="index.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">QXmlStreamAttribute Class Reference<br /><sup><sup>[<a href="qtcore.html">QtCore</a> module]</sup></sup></h1><p>The QXmlStreamAttribute class represents a single XML attribute
10
 
<a href="#details">More...</a></p>
11
 
 
12
 
<h3>Methods</h3><ul><li><div class="fn" /><b><a href="qxmlstreamattribute.html#QXmlStreamAttribute">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qxmlstreamattribute.html#QXmlStreamAttribute-2">__init__</a></b> (<i>self</i>, QString&#160;<i>qualifiedName</i>, QString&#160;<i>value</i>)</li><li><div class="fn" /><b><a href="qxmlstreamattribute.html#QXmlStreamAttribute-3">__init__</a></b> (<i>self</i>, QString&#160;<i>namespaceUri</i>, QString&#160;<i>name</i>, QString&#160;<i>value</i>)</li><li><div class="fn" /><b><a href="qxmlstreamattribute.html#QXmlStreamAttribute-4">__init__</a></b> (<i>self</i>, QXmlStreamAttribute)</li><li><div class="fn" />bool <b><a href="qxmlstreamattribute.html#isDefault">isDefault</a></b> (<i>self</i>)</li><li><div class="fn" />QStringRef <b><a href="qxmlstreamattribute.html#name">name</a></b> (<i>self</i>)</li><li><div class="fn" />QStringRef <b><a href="qxmlstreamattribute.html#namespaceUri">namespaceUri</a></b> (<i>self</i>)</li><li><div class="fn" />QStringRef <b><a href="qxmlstreamattribute.html#prefix">prefix</a></b> (<i>self</i>)</li><li><div class="fn" />QStringRef <b><a href="qxmlstreamattribute.html#qualifiedName">qualifiedName</a></b> (<i>self</i>)</li><li><div class="fn" />QStringRef <b><a href="qxmlstreamattribute.html#value">value</a></b> (<i>self</i>)</li></ul><h3>Special Methods</h3><ul><li><div class="fn" />bool <b><a href="qxmlstreamattribute.html#__eq__">__eq__</a></b> (<i>self</i>, QXmlStreamAttribute&#160;<i>other</i>)</li><li><div class="fn" />bool <b><a href="qxmlstreamattribute.html#__ne__">__ne__</a></b> (<i>self</i>, QXmlStreamAttribute&#160;<i>other</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QXmlStreamAttribute class represents a single XML
13
 
attribute</p>
14
 
<p>An attribute consists of an optionally empty <a href="qxmlstreamattribute.html#namespaceUri">namespaceUri</a>(), a
15
 
<a href="qxmlstreamattribute.html#name">name</a>(), a <a href="qxmlstreamattribute.html#value">value</a>(), and an <a href="qxmlstreamattribute.html#isDefault">isDefault</a>() attribute.</p>
16
 
<p>The raw XML attribute name is returned as <a href="qxmlstreamattribute.html#qualifiedName">qualifiedName</a>().</p>
17
 
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QXmlStreamAttribute" />QXmlStreamAttribute.__init__ (<i>self</i>)</h3><p>Creates an empty attribute.</p>
18
 
 
19
 
 
20
 
<h3 class="fn"><a name="QXmlStreamAttribute-2" />QXmlStreamAttribute.__init__ (<i>self</i>, QString&#160;<i>qualifiedName</i>, QString&#160;<i>value</i>)</h3><p>Constructs an attribute with qualified name <i>qualifiedName</i>
21
 
and value <i>value</i>.</p>
22
 
 
23
 
 
24
 
<h3 class="fn"><a name="QXmlStreamAttribute-3" />QXmlStreamAttribute.__init__ (<i>self</i>, QString&#160;<i>namespaceUri</i>, QString&#160;<i>name</i>, QString&#160;<i>value</i>)</h3><p>Constructs an attribute in the namespace described with
25
 
<i>namespaceUri</i> with <i>name</i> and value <i>value</i>.</p>
26
 
 
27
 
 
28
 
<h3 class="fn"><a name="QXmlStreamAttribute-4" />QXmlStreamAttribute.__init__ (<i>self</i>, <a href="qxmlstreamattribute.html">QXmlStreamAttribute</a>)</h3><p>Creates a copy of <i>other</i>.</p>
29
 
 
30
 
 
31
 
<h3 class="fn"><a name="isDefault" />bool QXmlStreamAttribute.isDefault (<i>self</i>)</h3><p>Returns true if the parser added this attribute with a default
32
 
value following an ATTLIST declaration in the DTD; otherwise
33
 
returns false.</p>
34
 
 
35
 
 
36
 
<h3 class="fn"><a name="name" />QStringRef QXmlStreamAttribute.name (<i>self</i>)</h3><p>Returns the attribute's local name.</p>
37
 
 
38
 
 
39
 
<h3 class="fn"><a name="namespaceUri" />QStringRef QXmlStreamAttribute.namespaceUri (<i>self</i>)</h3><p>Returns the attribute's resolved namespaceUri, or an empty
40
 
string reference if the attribute does not have a defined
41
 
namespace.</p>
42
 
 
43
 
 
44
 
<h3 class="fn"><a name="prefix" />QStringRef QXmlStreamAttribute.prefix (<i>self</i>)</h3><p>Returns the attribute's namespace prefix.</p>
45
 
<p>This function was introduced in Qt 4.4.</p>
46
 
<p><b>See also</b> <a href="qxmlstreamattribute.html#name">name</a>() and <a href="qxmlstreamattribute.html#qualifiedName">qualifiedName</a>().</p>
47
 
 
48
 
 
49
 
<h3 class="fn"><a name="qualifiedName" />QStringRef QXmlStreamAttribute.qualifiedName (<i>self</i>)</h3><p>Returns the attribute's qualified name.</p>
50
 
<p>A qualified name is the raw name of an attribute in the XML
51
 
data. It consists of the namespace <a href="qxmlstreamattribute.html#prefix">prefix</a>(), followed by colon,
52
 
followed by the attribute's local <a href="qxmlstreamattribute.html#name">name</a>(). Since the namespace
53
 
prefix is not unique (the same prefix can point to different
54
 
namespaces and different prefixes can point to the same namespace),
55
 
you shouldn't use qualifiedName(), but the resolved <a href="qxmlstreamattribute.html#namespaceUri">namespaceUri</a>() and the
56
 
attribute's local <a href="qxmlstreamattribute.html#name">name</a>().</p>
57
 
 
58
 
 
59
 
<h3 class="fn"><a name="value" />QStringRef QXmlStreamAttribute.value (<i>self</i>)</h3><p>Returns the attribute's value.</p>
60
 
 
61
 
 
62
 
<h3 class="fn"><a name="__eq__" />bool QXmlStreamAttribute.__eq__ (<i>self</i>, <a href="qxmlstreamattribute.html">QXmlStreamAttribute</a>&#160;<i>other</i>)</h3><h3 class="fn"><a name="__ne__" />bool QXmlStreamAttribute.__ne__ (<i>self</i>, <a href="qxmlstreamattribute.html">QXmlStreamAttribute</a>&#160;<i>other</i>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.10.3 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> 2012</td><td align="right" width="25%">Qt&#160;4.8.5</td></tr></table></div></address></body></html>
 
 
b'\\ No newline at end of file'