summaryrefslogtreecommitdiffstats
path: root/doc/html/annotations.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-22 03:12:38 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-22 03:12:38 -0600
commit7d27356bafd5670adcc8753ab5437b3bf8ffa4be (patch)
tree959eb3757b9dc41290c81c022e45c955573e9a59 /doc/html/annotations.html
parent6c4cc3653e8dd7668295f3e659b7eb4dc571b67c (diff)
downloadsip4-tqt-7d27356bafd5670adcc8753ab5437b3bf8ffa4be.tar.gz
sip4-tqt-7d27356bafd5670adcc8753ab5437b3bf8ffa4be.zip
Initial TQt conversion
Diffstat (limited to 'doc/html/annotations.html')
-rw-r--r--doc/html/annotations.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/annotations.html b/doc/html/annotations.html
index fc76524..439dbf4 100644
--- a/doc/html/annotations.html
+++ b/doc/html/annotations.html
@@ -82,16 +82,16 @@ within the range if it is greater or equal to the lower bound and less
than the upper bound. Each bound can be omitted meaning that the range is
unbounded in that direction.</p>
<p>For example:</p>
-<div class="last highlight-python"><pre># This is part of the PyQt4 API up to but excluding v2.
-void hex() /API=PyQt4:-2/
+<div class="last highlight-python"><pre># This is part of the PyTQt4 API up to but excluding v2.
+void hex() /API=PyTQt4:-2/
-# This is part of the PyQt4 API starting from v2.
-void hex() /PyName=hex_, API=PyQt4:2-/</pre>
+# This is part of the PyTQt4 API starting from v2.
+void hex() /PyName=hex_, API=PyTQt4:2-/</pre>
</div>
</dd>
</dl>
<p>The following example shows argument and function annotations:</p>
-<div class="highlight-python"><pre>void exec(QWidget * /Transfer/) /ReleaseGIL, PyName=call_exec/;</pre>
+<div class="highlight-python"><pre>void exec(TQWidget * /Transfer/) /ReleaseGIL, PyName=call_exec/;</pre>
</div>
<p>Note that the current version of SIP does not complain about unknown
annotations, or annotations used out of their correct context.</p>
@@ -191,7 +191,7 @@ directive. If the directive is not specified then <tt class="xref docutils lite
<p>Python v3 will use the <tt class="docutils literal"><span class="pre">bytes</span></tt> type to represent the argument if the
encoding is <tt class="docutils literal"><span class="pre">&quot;None&quot;</span></tt> and the <tt class="docutils literal"><span class="pre">str</span></tt> type otherwise.</p>
<p>Python v2 will use the <tt class="docutils literal"><span class="pre">str</span></tt> type to represent the argument if the
-encoding is <tt class="docutils literal"><span class="pre">&quot;None&quot;</span></tt> and the <tt class="docutils literal"><span class="pre">unicode</span></tt> type otherwise.</p>
+encoding is <tt class="docutils literal"><span class="pre">&quot;None&quot;</span></tt> and the <tt class="docutils literal"><span class="pre">tqunicode</span></tt> type otherwise.</p>
</dd></dl>
<dl class="argument-annotation">