diff options
Diffstat (limited to 'sip/tdeui/klistview.sip')
-rw-r--r-- | sip/tdeui/klistview.sip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sip/tdeui/klistview.sip b/sip/tdeui/klistview.sip index 29a5a4e..8c68639 100644 --- a/sip/tdeui/klistview.sip +++ b/sip/tdeui/klistview.sip @@ -291,7 +291,7 @@ typedef TQPtrList<TQListViewItem> ListViewItems; // the loop depends on the type of iterator the template makes available for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () ) { - if (((inst = sipConvertFromInstance (cpp, sipClass_QListViewItem, sipTransferObj)) == NULL) + if (((inst = sipConvertFromInstance (cpp, sipClass_TQListViewItem, sipTransferObj)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -315,7 +315,7 @@ typedef TQPtrList<TQListViewItem> ListViewItems; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (TQListViewItem *)sipForceConvertToType(elem, sipType_QListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TQListViewItem *)sipForceConvertToType(elem, sipType_TQListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { |