diff options
author | Timothy Pearson <[email protected]> | 2011-11-22 03:12:38 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-22 03:12:38 -0600 |
commit | 7d27356bafd5670adcc8753ab5437b3bf8ffa4be (patch) | |
tree | 959eb3757b9dc41290c81c022e45c955573e9a59 /sphinx/using.rst | |
parent | 6c4cc3653e8dd7668295f3e659b7eb4dc571b67c (diff) | |
download | sip4-tqt-7d27356bafd5670adcc8753ab5437b3bf8ffa4be.tar.gz sip4-tqt-7d27356bafd5670adcc8753ab5437b3bf8ffa4be.zip |
Initial TQt conversion
Diffstat (limited to 'sphinx/using.rst')
-rw-r--r-- | sphinx/using.rst | 6 |
1 files changed, 3 insertions, 3 deletions
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. |