diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 19:23:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 19:23:03 -0600 |
commit | f2fc430b75c36c70333c2e01b649eebf39142c33 (patch) | |
tree | e4e59b6582180a9ae0d90df2de438dc1e646c3cd /sip/qt/qkeysequence.sip | |
parent | 8a055d66f43592c257cece2eb8cc021808062917 (diff) | |
download | pytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.tar.gz pytqt-f2fc430b75c36c70333c2e01b649eebf39142c33.zip |
Rename sip*_Q items
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); } |