summaryrefslogtreecommitdiffstats
path: root/python/sip/siplib/siplib.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/sip/siplib/siplib.c')
-rw-r--r--python/sip/siplib/siplib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/sip/siplib/siplib.c b/python/sip/siplib/siplib.c
index d546522c..a715e830 100644
--- a/python/sip/siplib/siplib.c
+++ b/python/sip/siplib/siplib.c
@@ -810,10 +810,10 @@ static int sip_api_export_module(sipExportedModuleDef *client,
return -1;
}
- /* Only one module can claim to wrap QObject. */
+ /* Only one module can claim to wrap TQObject. */
if (em->em_qt_api != NULL && client->em_qt_api != NULL)
{
- PyErr_Format(PyExc_RuntimeError, "the %s and %s modules both wrap the QObject class", client->em_name, em->em_name);
+ PyErr_Format(PyExc_RuntimeError, "the %s and %s modules both wrap the TQObject class", client->em_name, em->em_name);
return -1;
}
@@ -2510,7 +2510,7 @@ static int parsePass1(sipWrapper **selfp, int *selfargp, int *argsParsedp,
case 'R':
{
- /* Sub-class of QObject. */
+ /* Sub-class of TQObject. */
if (sipQtSupport == NULL || !PyObject_TypeCheck(arg, (PyTypeObject *)sipQObjectClass))
valid = PARSE_TYPE;
@@ -3818,8 +3818,8 @@ static PyObject *handleGetLazyAttr(PyObject *nameobj,sipWrapperType *wt,
* lazy attribute of the same name. In this case (because we
* call the standard getattro code first) this one would be
* wrongly found in preference to the one in the sub-class.
- * The example in PyQt is QScrollView::ResizePolicy and
- * QListView::WidthMode both having a member called Manual.
+ * The example in PyQt is TQScrollView::ResizePolicy and
+ * TQListView::WidthMode both having a member called Manual.
* One way around this might be to cache them in a separate
* dictionary and search that before doing the binary search
* through the lazy enum table.
@@ -6618,7 +6618,7 @@ static void sipWrapper_dealloc(sipWrapper *self)
/*
* Now that the C++ object no longer exists we can tidy up the Python
* object. We used to do this first but that meant lambda slots were
- * removed too soon (if they were connected to QObject.destroyed()).
+ * removed too soon (if they were connected to TQObject.destroyed()).
*/
sipWrapper_clear(self);