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/c_api.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/html/c_api.html') diff --git a/doc/html/c_api.html b/doc/html/c_api.html index b761f8a..d51cb19 100644 --- a/doc/html/c_api.html +++ b/doc/html/c_api.html @@ -261,12 +261,12 @@ the result is Py_None
Convert a C/C++ unsigned short to a Python long.
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 *]
Convert a C/C++ '\0' terminated string to a Python v2 or v3 string @@ -329,8 +329,8 @@ Python named enum type.

F (wrapped enum) [enum, sipTypeDef *]
Convert a named C/C++ enum to an instance of the corresponding Python named enum type.
-
G (unicode) [wchar_t *, SIP_SSIZE_T]
-
Convert a C/C++ wide character array and its length to a Python unicode +
G (tqunicode) [wchar_t *, 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.
N (wrapped instance) [type *, sipTypeDef *, PyObject *]
@@ -1428,7 +1428,7 @@ to be passed.

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.
b (integer) [bool *]
@@ -1472,11 +1472,11 @@ then the string is NULLConvert a Python long to a C/C++ unsigned short.
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.
Ae (object) [int, const char **]
@@ -1487,7 +1487,7 @@ ASCII, L for Latin-1, 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.
B (string/bytes) [int, const char **]
@@ -1548,8 +1548,8 @@ not passed if this flag is specified.
F (wrapped enum) [sipTypeDef *, enum *]
Convert a Python named enum type to the corresponding C/C++ enum.
-
G (unicode/string) [wchar_t **, SIP_SSIZE_T *]
-
Convert a Python v2 string or unicode object or a Python v3 string +
G (tqunicode/string) [wchar_t **, 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.
@@ -2080,7 +2080,7 @@ corresponding generated type structure (see 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 TQt signals, then a derived class is not generated.

Most of the time handwritten code should ignore the derived classes. The only exception is that handwritten constructor code specified using the -- cgit v1.2.1