summaryrefslogtreecommitdiffstats
path: root/sip/qt/qobjectlist.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 19:23:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 19:23:03 -0600
commitf2fc430b75c36c70333c2e01b649eebf39142c33 (patch)
treee4e59b6582180a9ae0d90df2de438dc1e646c3cd /sip/qt/qobjectlist.sip
parent8a055d66f43592c257cece2eb8cc021808062917 (diff)
downloadpytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.tar.gz
pytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.zip
Rename sip*_Q items
Diffstat (limited to 'sip/qt/qobjectlist.sip')
-rw-r--r--sip/qt/qobjectlist.sip6
1 files changed, 3 insertions, 3 deletions
diff --git a/sip/qt/qobjectlist.sip b/sip/qt/qobjectlist.sip
index 2c528b0..eb323df 100644
--- a/sip/qt/qobjectlist.sip
+++ b/sip/qt/qobjectlist.sip
@@ -50,7 +50,7 @@ return type of a function or the type of an argument, a Python list of
{
PyObject *inst;
- if ((inst = sipConvertFromInstance(obj,sipClass_QObject,sipTransferObj)) == NULL || PyList_Append(pl,inst) < 0)
+ if ((inst = sipConvertFromInstance(obj,sipClass_TQObject,sipTransferObj)) == NULL || PyList_Append(pl,inst) < 0)
{
Py_XDECREF(inst);
Py_DECREF(pl);
@@ -74,7 +74,7 @@ return type of a function or the type of an argument, a Python list of
return 0;
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
- if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_QObject,0))
+ if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQObject,0))
return 0;
return 1;
@@ -89,7 +89,7 @@ return type of a function or the type of an argument, a Python list of
// We apply the transfer to the list itself, not the elements.
// Note that any temporary element will never be destroyed.
// There is nothing that can be done about this.
- qobj = reinterpret_cast<TQObject *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_QObject,0,0,0,sipIsErr));
+ qobj = reinterpret_cast<TQObject *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQObject,0,0,0,sipIsErr));
if (*sipIsErr)
{