diff options
Diffstat (limited to 'sip/qtcanvas/qcanvas.sip')
-rw-r--r-- | sip/qtcanvas/qcanvas.sip | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sip/qtcanvas/qcanvas.sip b/sip/qtcanvas/qcanvas.sip index 58b6e72..cb78d10 100644 --- a/sip/qtcanvas/qcanvas.sip +++ b/sip/qtcanvas/qcanvas.sip @@ -156,7 +156,7 @@ The <Literal>pixmaps</Literal> argument is a Python list of TQPixmap instances. { PyObject *ci; - if ((ci = sipConvertFromInstance(*it,sipClass_QCanvasItem,sipTransferObj)) == NULL || PyList_SetItem(l,i,ci) < 0) + if ((ci = sipConvertFromInstance(*it,sipClass_TQCanvasItem,sipTransferObj)) == NULL || PyList_SetItem(l,i,ci) < 0) { Py_XDECREF(ci); Py_DECREF(l); @@ -202,36 +202,36 @@ public: switch (sipCpp -> rtti()) { case 1: - sipClass = sipClass_QCanvasSprite; + sipClass = sipClass_TQCanvasSprite; break; case 2: - sipClass = sipClass_QCanvasPolygonalItem; + sipClass = sipClass_TQCanvasPolygonalItem; break; case 3: - sipClass = sipClass_QCanvasText; + sipClass = sipClass_TQCanvasText; break; case 4: - sipClass = sipClass_QCanvasPolygon; + sipClass = sipClass_TQCanvasPolygon; break; case 5: - sipClass = sipClass_QCanvasRectangle; + sipClass = sipClass_TQCanvasRectangle; break; case 6: - sipClass = sipClass_QCanvasEllipse; + sipClass = sipClass_TQCanvasEllipse; break; case 7: - sipClass = sipClass_QCanvasLine; + sipClass = sipClass_TQCanvasLine; break; #if QT_VERSION >= 0x030000 case 8: - sipClass = sipClass_QCanvasSpline; + sipClass = sipClass_TQCanvasSpline; break; #endif @@ -366,8 +366,8 @@ public: sipWrapperType **type; int yes, no; } graph[] = { - {sipName_QCanvasView, &sipClass_QCanvasView, -1, 1}, - {sipName_QCanvas, &sipClass_QCanvas, -1, -1}, + {sipName_TQCanvasView, &sipClass_TQCanvasView, -1, 1}, + {sipName_TQCanvas, &sipClass_TQCanvas, -1, -1}, }; int i = 0; |