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 --- sphinx/using.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sphinx/using.rst') diff --git a/sphinx/using.rst b/sphinx/using.rst index ff121ce..99fd389 100644 --- a/sphinx/using.rst +++ b/sphinx/using.rst @@ -284,7 +284,7 @@ previous examples. instance being constructed has a parent) then ownership of the instance is transferred from Python to C++. It is needed because Qt maintains objects (i.e. instances derived from the ``QObject`` class) in a - hierachy. When an object is destroyed all of its children are also + hierachy. When an object is destroyed all of its tqchildren are also automatically destroyed. It is important, therefore, that the Python garbage collector doesn't also try and destroy them. This is covered in more detail in :ref:`ref-object-ownership`. SIP provides many other @@ -552,8 +552,8 @@ Support for Wide Characters --------------------------- SIP v4.6 introduced support for wide characters (i.e. the ``wchar_t`` type). -Python's C API includes support for converting between unicode objects and wide -character strings and arrays. When converting from a unicode object to wide +Python's C API includes support for converting between tqunicode objects and wide +character strings and arrays. When converting from a tqunicode object to wide characters SIP creates the string or array on the heap (using memory allocated using :cfunc:`sipMalloc()`). This then raises the problem of how this memory is subsequently freed. -- cgit v1.2.1