summaryrefslogtreecommitdiffstats
path: root/doc/html/_sources/c_api.txt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-22 03:12:38 -0600
committerTimothy Pearson <[email protected]>2011-11-22 03:12:38 -0600
commit7d27356bafd5670adcc8753ab5437b3bf8ffa4be (patch)
tree959eb3757b9dc41290c81c022e45c955573e9a59 /doc/html/_sources/c_api.txt
parent6c4cc3653e8dd7668295f3e659b7eb4dc571b67c (diff)
downloadsip4-tqt-7d27356bafd5670adcc8753ab5437b3bf8ffa4be.tar.gz
sip4-tqt-7d27356bafd5670adcc8753ab5437b3bf8ffa4be.zip
Initial TQt conversion
Diffstat (limited to 'doc/html/_sources/c_api.txt')
-rw-r--r--doc/html/_sources/c_api.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/_sources/c_api.txt b/doc/html/_sources/c_api.txt
index 782056c..7bcacc7 100644
--- a/doc/html/_sources/c_api.txt
+++ b/doc/html/_sources/c_api.txt
@@ -202,13 +202,13 @@ specification files.
``u`` (long) [unsigned int]
Convert a C/C++ ``unsigned int`` to a Python long.
- ``w`` (unicode/string) [wchar_t]
- Convert a C/C++ wide character to a Python v2 unicode object or a
+ ``w`` (tqunicode/string) [wchar_t]
+ Convert a C/C++ wide character to a Python v2 tqunicode object or a
Python v3 string object.
- ``x`` (unicode/string) [wchar_t \*]
+ ``x`` (tqunicode/string) [wchar_t \*]
Convert a C/C++ ``L'\0'`` terminated wide character string to a Python
- v2 unicode object or a Python v3 string object. If the string pointer
+ v2 tqunicode object or a Python v3 string object. If the string pointer
is ``NULL`` then the result is ``Py_None``.
``A`` (string) [char \*]
@@ -272,8 +272,8 @@ specification files.
Convert a named C/C++ ``enum`` to an instance of the corresponding
Python named enum type.
- ``G`` (unicode) [wchar_t \*, :cmacro:`SIP_SSIZE_T`]
- Convert a C/C++ wide character array and its length to a Python unicode
+ ``G`` (tqunicode) [wchar_t \*, :cmacro:`SIP_SSIZE_T`]
+ Convert a C/C++ wide character array and its length to a Python tqunicode
object. If the array is ``NULL`` then the length is ignored and the
result is ``Py_None``.
@@ -1124,7 +1124,7 @@ specification files.
Convert a Python string-like object of length 1 to a C/C++ ``char``
according to the encoding ``e``. ``e`` can either be ``A`` for ASCII,
``L`` for Latin-1, or ``8`` for UTF-8. For Python v2 the object may be
- either a string or a unicode object that can be encoded. For Python v3
+ either a string or a tqunicode object that can be encoded. For Python v3
the object may either be a bytes object or a string object that can be
encoded. An object that supports the buffer protocol may also be used.
@@ -1182,12 +1182,12 @@ specification files.
``u`` (long) [unsigned int \*]
Convert a Python long to a C/C++ ``unsigned int``.
- ``w`` (unicode/string) [wchar_t \*]
- Convert a Python v2 string or unicode object or a Python v3 string
+ ``w`` (tqunicode/string) [wchar_t \*]
+ Convert a Python v2 string or tqunicode object or a Python v3 string
object of length 1 to a C/C++ wide character.
- ``x`` (unicode/string) [wchar_t \*\*]
- Convert a Python v2 string or unicode object or a Python v3 string
+ ``x`` (tqunicode/string) [wchar_t \*\*]
+ Convert a Python v2 string or tqunicode object or a Python v3 string
object to a C/C++ ``L'\0'`` terminated wide character string. If the
Python object is ``Py_None`` then the string is ``NULL``.
@@ -1199,7 +1199,7 @@ specification files.
identifies the object in the context defined by the ``S`` format
character and allows an extra reference to the object to be kept to
ensure that the string remains valid. For Python v2 the object may be
- either a string or a unicode object that can be encoded. For Python v3
+ either a string or a tqunicode object that can be encoded. For Python v3
the object may either be a bytes object or a string object that can be
encoded. An object that supports the buffer protocol may also be used.
@@ -1258,8 +1258,8 @@ specification files.
``F`` (wrapped enum) [:ctype:`sipTypeDef` \*, enum \*]
Convert a Python named enum type to the corresponding C/C++ ``enum``.
- ``G`` (unicode/string) [wchar_t \*\*, :cmacro:`SIP_SSIZE_T` \*]
- Convert a Python v2 string or unicode object or a Python v3 string
+ ``G`` (tqunicode/string) [wchar_t \*\*, :cmacro:`SIP_SSIZE_T` \*]
+ Convert a Python v2 string or tqunicode object or a Python v3 string
object to a C/C++ wide character array and its length. If the Python
object is ``Py_None`` then the array and length are ``NULL`` and zero
respectively.
@@ -1696,7 +1696,7 @@ name prefixed by ``sip``. For example, the derived class for class ``Klass``
is ``sipKlass``.
If a C++ class doesn't have any virtual or protected methods in it or any of
-it's super-class hierarchy, or does not emit any Qt signals, then a derived
+it's super-class hierarchy, or does not emit any Qt Q_SIGNALS, then a derived
class is not generated.
Most of the time handwritten code should ignore the derived classes. The only