diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 19:23:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 19:23:03 -0600 |
commit | f2fc430b75c36c70333c2e01b649eebf39142c33 (patch) | |
tree | e4e59b6582180a9ae0d90df2de438dc1e646c3cd /sip/qtsql/qsqlrecord.sip | |
parent | 8a055d66f43592c257cece2eb8cc021808062917 (diff) | |
download | pytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.tar.gz pytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.zip |
Rename sip*_Q items
Diffstat (limited to 'sip/qtsql/qsqlrecord.sip')
-rw-r--r-- | sip/qtsql/qsqlrecord.sip | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sip/qtsql/qsqlrecord.sip b/sip/qtsql/qsqlrecord.sip index 0bffac2..e79df10 100644 --- a/sip/qtsql/qsqlrecord.sip +++ b/sip/qtsql/qsqlrecord.sip @@ -113,7 +113,7 @@ public: { PyObject *tmobj; - if ((tmobj = sipConvertFromNewInstance(new TQSqlFieldInfo(*it),sipClass_QSqlFieldInfo,sipTransferObj)) == NULL || PyList_SetItem(l,i,tmobj) < 0) + if ((tmobj = sipConvertFromNewInstance(new TQSqlFieldInfo(*it),sipClass_TQSqlFieldInfo,sipTransferObj)) == NULL || PyList_SetItem(l,i,tmobj) < 0) { Py_XDECREF(tmobj); Py_DECREF(l); @@ -138,7 +138,7 @@ public: return 0; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) - if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_QSqlFieldInfo,SIP_NOT_NONE)) + if (!sipCanConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQSqlFieldInfo,SIP_NOT_NONE)) return 0; return 1; @@ -151,11 +151,11 @@ public: int iserr = 0, state; // We apply the transfer to the list itself, not the elements. - TQSqlFieldInfo *itm = reinterpret_cast<TQSqlFieldInfo *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_QSqlFieldInfo,0,SIP_NOT_NONE,&state,&iserr)); + TQSqlFieldInfo *itm = reinterpret_cast<TQSqlFieldInfo *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQSqlFieldInfo,0,SIP_NOT_NONE,&state,&iserr)); if (iserr) { - sipReleaseInstance(itm,sipClass_QSqlFieldInfo,state); + sipReleaseInstance(itm,sipClass_TQSqlFieldInfo,state); *sipIsErr = 1; delete qri; @@ -165,7 +165,7 @@ public: qri -> append(*itm); - sipReleaseInstance(itm,sipClass_QSqlFieldInfo,state); + sipReleaseInstance(itm,sipClass_TQSqlFieldInfo,state); } *sipCppPtr = qri; |