diff options
Diffstat (limited to 'sip/qt/qkeysequence.sip')
-rw-r--r-- | sip/qt/qkeysequence.sip | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sip/qt/qkeysequence.sip b/sip/qt/qkeysequence.sip index 327d6e6..f70f6ef 100644 --- a/sip/qt/qkeysequence.sip +++ b/sip/qt/qkeysequence.sip @@ -63,10 +63,10 @@ public: if (sipIsErr == NULL) { - if (sipCanConvertToInstance(sipPy,sipClass_QKeySequence,SIP_NO_CONVERTORS)) + if (sipCanConvertToInstance(sipPy,sipClass_TQKeySequence,SIP_NO_CONVERTORS)) return 1; - if (sipCanConvertToInstance(sipPy,sipClass_QString,0)) + if (sipCanConvertToInstance(sipPy,sipClass_TQString,0)) return 1; PyErr_Clear(); @@ -79,21 +79,21 @@ public: // We do this case before the int case because, otherwise, // PyInt_AsLong() would achieve the same result but less efficiently. - if (sipCanConvertToInstance(sipPy,sipClass_QKeySequence,SIP_NO_CONVERTORS)) + if (sipCanConvertToInstance(sipPy,sipClass_TQKeySequence,SIP_NO_CONVERTORS)) { - *sipCppPtr = reinterpret_cast<TQKeySequence *>(sipConvertToInstance(sipPy,sipClass_QKeySequence,sipTransferObj,SIP_NO_CONVERTORS,0,sipIsErr)); + *sipCppPtr = reinterpret_cast<TQKeySequence *>(sipConvertToInstance(sipPy,sipClass_TQKeySequence,sipTransferObj,SIP_NO_CONVERTORS,0,sipIsErr)); return 0; } - if (sipCanConvertToInstance(sipPy,sipClass_QString,0)) + if (sipCanConvertToInstance(sipPy,sipClass_TQString,0)) { int state; - TQString *s = reinterpret_cast<TQString *>(sipConvertToInstance(sipPy,sipClass_QString,0,0,&state,sipIsErr)); + TQString *s = reinterpret_cast<TQString *>(sipConvertToInstance(sipPy,sipClass_TQString,0,0,&state,sipIsErr)); if (*sipIsErr) { - sipReleaseInstance(s,sipClass_QString,state); + sipReleaseInstance(s,sipClass_TQString,state); return 0; } @@ -101,7 +101,7 @@ public: *sipCppPtr = new TQKeySequence(*s); Py_END_ALLOW_THREADS - sipReleaseInstance(s,sipClass_QString,state); + sipReleaseInstance(s,sipClass_TQString,state); return sipGetState(sipTransferObj); } |