diff options
Diffstat (limited to 'sip/kio/kservicetype.sip')
-rw-r--r-- | sip/kio/kservicetype.sip | 8 |
1 files changed, 4 insertions, 4 deletions
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; |