diff options
Diffstat (limited to 'sip/tdeui/kxmlguifactory.sip')
-rw-r--r-- | sip/tdeui/kxmlguifactory.sip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/tdeui/kxmlguifactory.sip b/sip/tdeui/kxmlguifactory.sip index 0f39344..aa55200 100644 --- a/sip/tdeui/kxmlguifactory.sip +++ b/sip/tdeui/kxmlguifactory.sip @@ -252,7 +252,7 @@ TQPtrList<KAction> testKActionList (TQPtrList<KAction>); // 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_QWidget, sipTransferObj)) == NULL) + if (((inst = sipConvertFromInstance (cpp, sipClass_TQWidget, sipTransferObj)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -276,7 +276,7 @@ TQPtrList<KAction> testKActionList (TQPtrList<KAction>); for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (TQWidget *)sipForceConvertToType(elem, sipType_QWidget, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TQWidget *)sipForceConvertToType(elem, sipType_TQWidget, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { |