diff options
Diffstat (limited to 'sphinx/using.rst')
| -rw-r--r-- | sphinx/using.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sphinx/using.rst b/sphinx/using.rst index ff121ce..f703e8c 100644 --- a/sphinx/using.rst +++ b/sphinx/using.rst @@ -193,7 +193,7 @@ A More Complex C++ Example -------------------------- In this last example we will wrap a fictional C++ library that contains a class -that is derived from a Qt class. This will demonstrate how SIP allows a class +that is derived from a TQt class. This will demonstrate how SIP allows a class hierarchy to be split across multiple Python extension modules, and will introduce SIP's versioning system. @@ -263,11 +263,11 @@ previous examples. - The :directive:`%Import` directive has been added to specify that we are extending the class hierarchy defined in the file ``QtGui/QtGuimod.sip``. - This file is part of PyQt. The build system will take care of finding + This file is part of PyTQt. The build system will take care of finding the file's exact location. - The :directive:`%If` directive has been added to specify that everything - [#]_ up to the matching :directive:`%End` directive only applies to Qt + [#]_ up to the matching :directive:`%End` directive only applies to TQt v4.2 and later. ``Qt_4_2_0`` is a *tag* defined in ``QtCoremod.sip`` [#]_ using the :directive:`%Timeline` directive. :directive:`%Timeline` is used to define a tag for each version of a library's API you are @@ -282,7 +282,7 @@ previous examples. - The :aanno:`TransferThis` annotation has been added to the constructor's argument. It specifies that if the argument is not 0 (i.e. the ``Hello`` instance being constructed has a parent) then ownership of the instance - is transferred from Python to C++. It is needed because Qt maintains + is transferred from Python to C++. It is needed because TQt maintains objects (i.e. instances derived from the ``QObject`` class) in a hierachy. When an object is destroyed all of its children are also automatically destroyed. It is important, therefore, that the Python @@ -297,7 +297,7 @@ previous examples. - The :directive:`%If` directive has been added to specify that everything up to the matching :directive:`%End` directive does not apply to Windows. - ``WS_WIN`` is another tag defined by PyQt, this time using the + ``WS_WIN`` is another tag defined by PyTQt, this time using the :directive:`%Platforms` directive. Tags defined by the :directive:`%Platforms` directive are mutually exclusive, i.e. only one may be valid at a time [#]_. @@ -309,9 +309,9 @@ prevent the automatic generation of a public copy constructor. We now look at the ``configure.py`` script. This is a little different to the script in the previous examples for two related reasons. -Firstly, PyQt includes a pure Python module called ``pyqtconfig`` that extends -the SIP build system for modules, like our example, that build on top of PyQt. -It deals with the details of which version of Qt is being used (i.e. it +Firstly, PyTQt includes a pure Python module called ``pytqtconfig`` that extends +the SIP build system for modules, like our example, that build on top of PyTQt. +It deals with the details of which version of TQt is being used (i.e. it determines what the correct tags are) and where it is installed. This is called a module's configuration module. |
