diff options
Diffstat (limited to 'sip/khtml')
-rw-r--r-- | sip/khtml/khtml_settings.sip | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sip/khtml/khtml_settings.sip b/sip/khtml/khtml_settings.sip index 54a8f70..e366127 100644 --- a/sip/khtml/khtml_settings.sip +++ b/sip/khtml/khtml_settings.sip @@ -235,8 +235,8 @@ typedef TQPair<TQString,TQChar> AssignPair; PyObject *inst = NULL; TQString s = (*it).first; TQChar c = (*it).second; - PyObject *pys = sipConvertFromNewType(new TQString(s), sipType_QString, sipTransferObj); - PyObject *pyc = sipConvertFromNewType(new TQChar(c), sipType_QChar, sipTransferObj); + PyObject *pys = sipConvertFromNewType(new TQString(s), sipType_TQString, sipTransferObj); + PyObject *pyc = sipConvertFromNewType(new TQChar(c), sipType_TQChar, sipTransferObj); if ((pys == NULL) || ((inst = Py_BuildValue ("NN", pys, pyc)) == NULL) || PyList_Append (pylist, inst) < 0) { @@ -269,13 +269,13 @@ typedef TQPair<TQString,TQChar> AssignPair; PyObject *elem = PyList_GET_ITEM (sipPy, i); PyObject *pyp1 = PyTuple_GET_ITEM (elem, 0); PyObject *pyp2 = PyTuple_GET_ITEM (elem, 1); - p1 = (TQString *)sipForceConvertToType(pyp1, sipType_QString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr); - p2 = (TQChar *)sipForceConvertToType(pyp2, sipType_QChar, sipTransferObj, SIP_NOT_NONE, &p2_state, &iserr); + p1 = (TQString *)sipForceConvertToType(pyp1, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &p1_state, &iserr); + p2 = (TQChar *)sipForceConvertToType(pyp2, sipType_TQChar, sipTransferObj, SIP_NOT_NONE, &p2_state, &iserr); if (iserr) { if (p1) - sipReleaseType(p1, sipType_QString, p1_state); + sipReleaseType(p1, sipType_TQString, p1_state); *sipIsErr = 1; delete cpplist; @@ -284,8 +284,8 @@ typedef TQPair<TQString,TQChar> AssignPair; cpplist->append (AssignPair (*p1, *p2)); - sipReleaseType(p1, sipType_QString, p1_state); - sipReleaseType(p2, sipType_QChar, p2_state); + sipReleaseType(p1, sipType_TQString, p1_state); + sipReleaseType(p2, sipType_TQChar, p2_state); } *sipCppPtr = cpplist; |