From 7d27356bafd5670adcc8753ab5437b3bf8ffa4be Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Nov 2011 03:12:38 -0600 Subject: Initial TQt conversion --- doc/html/annotations.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/annotations.html') 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.

For example:

-
# This is part of the PyQt4 API up to but excluding v2.
-void hex() /API=PyQt4:-2/
+
# 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-/
+# This is part of the PyTQt4 API starting from v2. +void hex() /PyName=hex_, API=PyTQt4:2-/

The following example shows argument and function annotations:

-
void exec(QWidget * /Transfer/) /ReleaseGIL, PyName=call_exec/;
+
void exec(TQWidget * /Transfer/) /ReleaseGIL, PyName=call_exec/;

Note that the current version of SIP does not complain about unknown annotations, or annotations used out of their correct context.

@@ -191,7 +191,7 @@ directive. If the directive is not specified then bytes type to represent the argument if the encoding is "None" and the str type otherwise.

Python v2 will use the str type to represent the argument if the -encoding is "None" and the unicode type otherwise.

+encoding is "None" and the tqunicode type otherwise.

-- cgit v1.2.1