diff options
author | Timothy Pearson <[email protected]> | 2011-12-04 01:41:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-04 01:41:14 -0600 |
commit | 12cadbfed97cb4735f3f910f57cba5739438077c (patch) | |
tree | 0509d85d094b1236ab5543ff5f4528c5e6eefa55 /sip/kio | |
parent | 65674fcc5b81254837e10d7c6040c234947e7a3a (diff) | |
download | pytde-12cadbfed97cb4735f3f910f57cba5739438077c.tar.gz pytde-12cadbfed97cb4735f3f910f57cba5739438077c.zip |
Rename sip_Q to sipTQ
Diffstat (limited to 'sip/kio')
-rw-r--r-- | sip/kio/authinfo.sip | 12 | ||||
-rw-r--r-- | sip/kio/global.sip | 14 | ||||
-rw-r--r-- | sip/kio/kacl.sip | 6 | ||||
-rw-r--r-- | sip/kio/kdirlister.sip | 4 | ||||
-rw-r--r-- | sip/kio/kservicetype.sip | 8 |
5 files changed, 22 insertions, 22 deletions
diff --git a/sip/kio/authinfo.sip b/sip/kio/authinfo.sip index 0832cd8..fdf0c1a 100644 --- a/sip/kio/authinfo.sip +++ b/sip/kio/authinfo.sip @@ -152,7 +152,7 @@ typedef TQMap<TQString, TQStringList> KStringListMap; for (it = map.begin (); it != map.end (); ++it) { PyObject *sKey = PyString_FromString ((const char *)((TQString)it.key ())); - PyObject *sData = sipConvertFromInstance ((void *)&it.data (), sipClass_QStringList, sipTransferObj); + PyObject *sData = sipConvertFromInstance ((void *)&it.data (), sipClass_TQStringList, sipTransferObj); if ((sKey == NULL) || (sData == NULL) || (PyDict_SetItem (dict, sKey, sData) < 0)) { @@ -182,13 +182,13 @@ typedef TQMap<TQString, TQStringList> KStringListMap; { int iserr = 0, sKey_state, sData_state; - sKey = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr); - sData = (TQStringList *)sipForceConvertToType(value, sipType_QStringList, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr); + sKey = (TQString *)sipForceConvertToType(key, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &sKey_state, &iserr); + sData = (TQStringList *)sipForceConvertToType(value, sipType_TQStringList, sipTransferObj, SIP_NOT_NONE, &sData_state, &iserr); if (iserr) { if (sKey) - sipReleaseType(sKey, sipType_QString, sKey_state); + sipReleaseType(sKey, sipType_TQString, sKey_state); *sipIsErr = 1; delete map; @@ -197,8 +197,8 @@ typedef TQMap<TQString, TQStringList> KStringListMap; map->insert (*sKey, *sData); - sipReleaseType(sKey, sipType_QString, sKey_state); - sipReleaseType(sData, sipType_QStringList, sData_state); + sipReleaseType(sKey, sipType_TQString, sKey_state); + sipReleaseType(sData, sipType_TQStringList, sData_state); } *sipCppPtr = map; diff --git a/sip/kio/global.sip b/sip/kio/global.sip index e46997a..9812d44 100644 --- a/sip/kio/global.sip +++ b/sip/kio/global.sip @@ -653,8 +653,8 @@ KIO::MetaData testKIOMetaData (KIO::MetaData); TQString bcpp = it.data (); PyObject *ainst; PyObject *binst; - if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_QString, sipTransferObj)) == NULL) - || ((binst = sipConvertFromNewType(new TQString(bcpp), sipType_QString, sipTransferObj)) == NULL) + if (((ainst = sipConvertFromNewType(new TQString(acpp), sipType_TQString, sipTransferObj)) == NULL) + || ((binst = sipConvertFromNewType(new TQString(bcpp), sipType_TQString, sipTransferObj)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { Py_XDECREF (ainst); @@ -686,13 +686,13 @@ KIO::MetaData testKIOMetaData (KIO::MetaData); { int iserr = 0, acpp_state, bcpp_state; - acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); - bcpp = (TQString *)sipForceConvertToType(belem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr); + acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); + bcpp = (TQString *)sipForceConvertToType(belem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &bcpp_state, &iserr); if (iserr) { if (acpp) - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); *sipIsErr = 1; delete cppmap; @@ -701,8 +701,8 @@ KIO::MetaData testKIOMetaData (KIO::MetaData); cppmap->insert (*acpp, *bcpp); - sipReleaseType(acpp, sipType_QString, acpp_state); - sipReleaseType(bcpp, sipType_QString, bcpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); + sipReleaseType(bcpp, sipType_TQString, bcpp_state); } *sipCppPtr = (KIO::MetaData *)cppmap; diff --git a/sip/kio/kacl.sip b/sip/kio/kacl.sip index 8997ce3..bcd9a1b 100644 --- a/sip/kio/kacl.sip +++ b/sip/kio/kacl.sip @@ -114,7 +114,7 @@ typedef ACLUserPermissionsList ACLGroupPermissionsList; { TQString s = (*it).first; ushort u = (*it).second; - PyObject *pys = sipConvertFromNewType(new TQString(s), sipType_QString, sipTransferObj); + PyObject *pys = sipConvertFromNewType(new TQString(s), sipType_TQString, sipTransferObj); if ((pys == NULL) || ((inst = Py_BuildValue ("Ni", pys, u)) == NULL) || PyList_Append (pylist, inst) < 0) { @@ -144,7 +144,7 @@ typedef ACLUserPermissionsList ACLGroupPermissionsList; PyObject *elem = PyList_GET_ITEM (sipPy, i); PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0); - p1 = (TQString *)sipForceConvertToType(pyp1, sipType_QString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr); + p1 = (TQString *)sipForceConvertToType(pyp1, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr); if (iserr) { @@ -156,7 +156,7 @@ typedef ACLUserPermissionsList ACLGroupPermissionsList; cpplist->append (ACLUserPermissions (*p1, p2)); - sipReleaseType(p1, sipType_QString, p1_state); + sipReleaseType(p1, sipType_TQString, p1_state); } *sipCppPtr = cpplist; diff --git a/sip/kio/kdirlister.sip b/sip/kio/kdirlister.sip index e48bea0..96196d5 100644 --- a/sip/kio/kdirlister.sip +++ b/sip/kio/kdirlister.sip @@ -222,7 +222,7 @@ protected: // the loop depends on the type of iterator the tmeplate makes available for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) { - if (((inst = sipConvertFromInstance (cpp, sipClass_QRegExp, sipTransferObj)) == NULL) + if (((inst = sipConvertFromInstance (cpp, sipClass_TQRegExp, sipTransferObj)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -246,7 +246,7 @@ protected: for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (TQRegExp *)sipForceConvertToType(elem, sipType_QRegExp, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TQRegExp *)sipForceConvertToType(elem, sipType_TQRegExp, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { diff --git a/sip/kio/kservicetype.sip b/sip/kio/kservicetype.sip index da8099b..1862ce8 100644 --- a/sip/kio/kservicetype.sip +++ b/sip/kio/kservicetype.sip @@ -156,7 +156,7 @@ protected: int bcpp = (int) it.data (); PyObject *ainst; PyObject *binst = PyInt_FromLong (bcpp); - if (((ainst = sipConvertFromNewType(new TQString (acpp), sipType_QString, sipTransferObj)) == NULL) + if (((ainst = sipConvertFromNewType(new TQString (acpp), sipType_TQString, sipTransferObj)) == NULL) || (PyDict_SetItem (dict, ainst, binst) < 0)) { Py_XDECREF (ainst); @@ -187,12 +187,12 @@ protected: { int iserr = 0, acpp_state; - acpp = (TQString *)sipForceConvertToType(aelem, sipType_QString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); + acpp = (TQString *)sipForceConvertToType(aelem, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &acpp_state, &iserr); if (iserr || !PyInt_Check(belem)) { if (acpp_state) - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); *sipIsErr = 1; delete cppmap; @@ -203,7 +203,7 @@ protected: cppmap->insert (*acpp, bcpp); - sipReleaseType(acpp, sipType_QString, acpp_state); + sipReleaseType(acpp, sipType_TQString, acpp_state); } *sipCppPtr = cppmap; |